1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-01-20 04:59:33 +02:00

21 lines
314 B
TypeScript
Raw Normal View History

export enum ErrorCodes{
NOT_AUTHENTICATED,
ALREADY_AUTHENTICATED,
NOT_AUTHORISED,
CREDENTIAL_NOT_FOUND,
USER_CREATION_ERROR,
2016-05-06 10:48:51 +02:00
GENERAL_ERROR,
2016-07-07 12:26:36 +02:00
SERVER_ERROR,
USER_MANAGEMENT_DISABLED
2016-05-09 17:04:56 +02:00
}
2016-05-09 17:04:56 +02:00
export class Error {
constructor(public code:ErrorCodes, public message?:String) {
}
2016-03-12 22:19:24 +01:00
}