update logger

This commit is contained in:
Barry Low committed 2018-10-30 21:34:00 -07:00
1 parent 2449c642d2
commit 94c962cd44
12 files changed
+46 -29

No files matched your search

+3 -3
View File
@@ -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 {