UNPKG

998 BTypeScriptView Raw
1/**
2 * @hidden
3 */
4export 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 * @hidden
30 */
31export declare const StatusCodes: StatusCodesType;
32/**
33 * @hidden
34 */
35export interface SubStatusCodesType {
36 Unknown: 0;
37 CrossPartitionQueryNotServable: 1004;
38 PartitionKeyRangeGone: 1002;
39 ReadSessionNotAvailable: 1002;
40 WriteForbidden: 3;
41 DatabaseAccountNotFound: 1008;
42}
43/**
44 * @hidden
45 */
46export declare const SubStatusCodes: SubStatusCodesType;
47//# sourceMappingURL=statusCodes.d.ts.map
\No newline at end of file