UNPKG

efriend

Version:
17 lines (16 loc) 420 B
'use strict'; /** * 에러 클래스 * * @file packages/EFriendExpert/common/error/error.util.ts * @version 0.0.1 * @license GNU General Public License v3.0 * @copyright 2017~2023, EFriendExport Community Team * @author dalcon10028 <dalcon10280@gmail.com> */ import { ERROR_MESSAGE } from './error.constant.js'; export const errorUtil = { getMessage: (code) => { return ERROR_MESSAGE[code]; } };