mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 19:49:37 +02:00
SQLite database. App model and controller
This commit is contained in:
parent
8392c2422a
commit
2acc3b72ec
11 changed files with 1185 additions and 32 deletions
8
utils/ErrorResponse.js
Normal file
8
utils/ErrorResponse.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
class ErrorResponse extends Error {
|
||||
constructor(message, statusCode) {
|
||||
super(message);
|
||||
this.statusCode = statusCode
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ErrorResponse;
|
Loading…
Add table
Add a link
Reference in a new issue