mares-express-error-handler
mares ddd 구현시 필요한 express error handler
Installation
npm install --save mares-express-error-handler
Examples
mares-welder에서 다음과 같이 적용해줍니다.
const MaresWelder = const maresExpressErrorHandler = thismares = rootPath thismares
ETC
환경변수에 ERROR_LOGABLE=true
로 설정하면 not found 에러를 포함하여 모든 에러를 출력해 줍니다.