mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-11 22:54:46 +08:00
SQLite database. App model and controller
This commit is contained in:
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;
|
||||
Reference in New Issue
Block a user