1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 11:39:36 +02:00
flame/utils/ErrorResponse.js

8 lines
164 B
JavaScript
Raw Normal View History

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