@jeffkk/common 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ const custom_errors_1 = require("./custom-errors");
|
|
|
5
5
|
class NotFoundError extends custom_errors_1.CustomError {
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
|
-
this.statusCode =
|
|
8
|
+
this.statusCode = 404;
|
|
9
9
|
this.reason = 'Route Not Found';
|
|
10
10
|
// ... because we are extending as built in class
|
|
11
11
|
Object.setPrototypeOf(this, NotFoundError.prototype);
|