mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-29 08:07:48 +01:00
remove lists
This commit is contained in:
9
errors/index.js
Normal file
9
errors/index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
class NotFoundError extends Error {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
Error.captureStackTrace(this, NotFoundError);
|
||||
this.name = 'NotFound';
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { NotFoundError };
|
||||
Reference in New Issue
Block a user