refactor(interfaces): remove unnecessary quotes in ErrorType enum

Removed unnecessary quotes from the keys of the `ErrorType` enum in the `ISError.ts` file, making the code more readable and conforming to TypeScript's best practices.

Signed-off-by: Mathis <yidhra@tuta.io>
This commit is contained in:
Mathis H (Avnyr) 2024-04-30 12:35:27 +02:00
parent 4fd6c11326
commit f1272ca2c8
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -15,11 +15,11 @@ export interface ISError {
* @enum {number} * @enum {number}
*/ */
export enum ErrorType { export enum ErrorType {
'InvalidData' = 0, InvalidData = 0,
'DatabaseError' = 1, DatabaseError = 1,
'ServiceError' = 2, ServiceError = 2,
'NotFound' = 3, NotFound = 3,
'PasswordInvalid' = 4, PasswordInvalid = 4,
'UnAuthorized' = 5, UnAuthorized = 5,
'UnexpectedError' = 6 UnexpectedError = 6,
} }