0.0.4 • Published 5 years ago

mares-tcomb-error v0.0.4

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

mares-tcomb-error

domain layer에서 po작성시 사용되는 tcomb의 에러핸들링 클래스입니다.

Installation

npm install --save mares-tcomb-error

Example

const MaresTcombError = require('mares-tcomb-error')
try {
    // todo validate tcomb schema
} catch (e) {
    throw new MaresTcombError(e)  
}