Started converting some of the backend over to Typescript, still trying to figure out a overall file strucure, in terms of adding the ability to have multiple backend fileserver options
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class NotFoundError extends Error {
|
||||
|
||||
constructor(args) {
|
||||
super(args);
|
||||
|
||||
this.code = 404;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = NotFoundError;
|
||||
Reference in New Issue
Block a user