Creazione tabella Product
This commit is contained in:
10
src/server/modules/ErrorHandler.js
Normal file
10
src/server/modules/ErrorHandler.js
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
class TypedError extends Error{
|
||||
constructor(args,status,type,error){
|
||||
super(args)
|
||||
this.status=status
|
||||
this.type=type
|
||||
this.error = error
|
||||
}
|
||||
}
|
||||
module.exports=TypedError
|
||||
Reference in New Issue
Block a user