mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-21 17:21:30 +03:00
8 lines
164 B
JavaScript
8 lines
164 B
JavaScript
|
class ErrorResponse extends Error {
|
||
|
constructor(message, statusCode) {
|
||
|
super(message);
|
||
|
this.statusCode = statusCode
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = ErrorResponse;
|