Commit 0432939 1 parent a3103a5 commit 0432939 Copy full SHA for 0432939
File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,6 @@ export class ApiErrorUnknown extends Error {}
11
11
export class ApiErrorNetwork extends Error { }
12
12
export class ApiErrorInvalidState extends Error { }
13
13
export class ApiErrorResponseMalformed extends Error { }
14
+ export class ApiErrorServiceUnavailable extends Error { }
15
+ export class ApiErrorMethodNotAllowed extends Error { }
16
+ export class ApiErrorContentNotAcceptable extends Error { }
Original file line number Diff line number Diff line change @@ -7,7 +7,10 @@ export enum ApiHttpStatusCode {
7
7
Unauthorized = 401 ,
8
8
Forbidden = 403 ,
9
9
NotFound = 404 ,
10
+ MethodNotAllowed = 405 ,
11
+ ContentNotAcceptable = 406 ,
10
12
TooEarly = 425 ,
11
13
TooManyRequests = 429 ,
12
14
InternalServerError = 500 ,
15
+ ServiceUnavailable = 503 ,
13
16
}
You can’t perform that action at this time.
0 commit comments