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:
parent
4fd6c11326
commit
f1272ca2c8
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user