mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
animate add todo/filter selector
This commit is contained in:
@@ -4,6 +4,7 @@ class NotFoundError extends Error {
|
||||
Error.captureStackTrace(this, NotFoundError);
|
||||
this.name = 'NotFound';
|
||||
this.text = text;
|
||||
this.code = 404;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +14,7 @@ class BadRequestError extends Error {
|
||||
Error.captureStackTrace(this, NotFoundError);
|
||||
this.name = 'BadRequest';
|
||||
this.text = text;
|
||||
this.code = 400;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user