flame/utils/ErrorResponse.js
2021-05-10 17:47:26 +02:00

8 lines
164 B
JavaScript

class ErrorResponse extends Error {
constructor(message, statusCode) {
super(message);
this.statusCode = statusCode
}
}
module.exports = ErrorResponse;