Browse Source

fix: revert ServerError.js

pull/880/head
cany748 1 year ago
parent
commit
7efdbf38e4
  1. 10
      src/lib/ServerError.js

10
src/lib/ServerError.js

@ -0,0 +1,10 @@
'use strict';
module.exports = class ServerError extends Error {
constructor(message, statusCode = 500) {
super(message);
this.statusCode = statusCode;
}
};
Loading…
Cancel
Save