mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-24 18:52:37 +03:00
9 lines
166 B
JavaScript
9 lines
166 B
JavaScript
class ErrorResponse extends Error {
|
|
constructor(message, statusCode) {
|
|
super(message);
|
|
this.statusCode = statusCode;
|
|
}
|
|
}
|
|
|
|
module.exports = ErrorResponse;
|