1.0.0 • Published 5 years ago

mares-apistore-message-error v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

mares-apistore-message-error

apistore api호출시 필요한 error handling module 입니다.

Installation

npm install --save mares-apistore-message-error

Examples

const MaresApistoreMessageError = require('mares-apistore-message-error')

// throw를 던질때 다음과 같이 던질 수 있습니다.
// result는 apistore에서 반환하는 결과입니다.
throw new MaresApistoreMessageError('register', result);