1 |
|
2 |
|
3 |
|
4 | export interface StatusCodesType {
|
5 | Ok: 200;
|
6 | Created: 201;
|
7 | Accepted: 202;
|
8 | NoContent: 204;
|
9 | NotModified: 304;
|
10 | BadRequest: 400;
|
11 | Unauthorized: 401;
|
12 | Forbidden: 403;
|
13 | NotFound: 404;
|
14 | MethodNotAllowed: 405;
|
15 | RequestTimeout: 408;
|
16 | Conflict: 409;
|
17 | Gone: 410;
|
18 | PreconditionFailed: 412;
|
19 | RequestEntityTooLarge: 413;
|
20 | TooManyRequests: 429;
|
21 | RetryWith: 449;
|
22 | InternalServerError: 500;
|
23 | ServiceUnavailable: 503;
|
24 | ENOTFOUND: "ENOTFOUND";
|
25 | OperationPaused: 1200;
|
26 | OperationCancelled: 1201;
|
27 | }
|
28 |
|
29 |
|
30 |
|
31 | export declare const StatusCodes: StatusCodesType;
|
32 |
|
33 |
|
34 |
|
35 | export interface SubStatusCodesType {
|
36 | Unknown: 0;
|
37 | CrossPartitionQueryNotServable: 1004;
|
38 | PartitionKeyRangeGone: 1002;
|
39 | ReadSessionNotAvailable: 1002;
|
40 | WriteForbidden: 3;
|
41 | DatabaseAccountNotFound: 1008;
|
42 | }
|
43 |
|
44 |
|
45 |
|
46 | export declare const SubStatusCodes: SubStatusCodesType;
|
47 |
|
\ | No newline at end of file |