7 lines
134 B
JavaScript
7 lines
134 B
JavaScript
|
export default class extends Error {
|
||
|
constructor(statusCode, message) {
|
||
|
super(message);
|
||
|
this.statusCode = statusCode;
|
||
|
}
|
||
|
}
|