update logger
This commit is contained in:
1 parent
2449c642d2
commit
94c962cd44
12 files changed
+46
-29
No files matched your search
@@ -1,11 +1,11 @@
|
||||
export class AuthentificationError extends Error {
|
||||
export class AuthenticationError extends Error {
|
||||
code = 401
|
||||
message = 'Autentification not found, you have to be authentificated to perform this action'
|
||||
message = 'Not Authenticated - you have to be authenticated to perform this action'
|
||||
}
|
||||
|
||||
export class DatabaseError extends Error {
|
||||
code = 404
|
||||
message = 'Ressource not found : ' + this.message
|
||||
message = 'Resource not found : ' + this.message
|
||||
}
|
||||
|
||||
export class WrongArgumentsError extends Error {
|
||||
|
||||
Reference in new issue
Block a user