mares-apistore-message-error
Version:
apistore api호출시 필요한 error handling module 입니다.
16 lines (11 loc) • 449 B
Markdown
apistore api호출시 필요한 error handling module 입니다.
`npm install --save mares-apistore-message-error`
```javascript
const MaresApistoreMessageError = require('mares-apistore-message-error')
// throw를 던질때 다음과 같이 던질 수 있습니다.
// result는 apistore에서 반환하는 결과입니다.
throw new MaresApistoreMessageError('register', result);
```