f7
f7 is a spreadsheet formula execution library
git clone https://git.vogt.world/f7.git
Log | Files | README.md | LICENSE.md
← All files
name: src/main/js/common/errors/StatusName.ts
-rw-r--r--
2218
 1/**
 2 * Errors roughly derived from https://cloud.google.com/apis/design/errors.
 3 */
 4export enum StatusName {
 5  /**
 6   *  No error.
 7   */
 8  OK = "OK",
 9  /**
10   * Client specified an invalid argument. Check error message and error details for more information.
11   */
12  INVALID_ARGUMENT = "INVALID_ARGUMENT",
13  /**
14   * Request can not be executed in the current system state, such as deleting a non-empty directory.
15   */
16  FAILED_PRECONDITION = "FAILED_PRECONDITION",
17  /**
18   * Client specified an invalid range.
19   */
20  OUT_OF_RANGE = "OUT_OF_RANGE",
21  /**
22   * Request not authenticated due to missing, invalid, or expired OAuth token.
23   */
24  UNAUTHENTICATED = "UNAUTHENTICATED",
25  /**
26   * Either out of resource quota or reaching rate limiting.
27   */
28  RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
29  /**
30   * Client does not have sufficient permission. This can happen because the OAuth token does not have the right scopes,
31   * the client doesn't have permission, or the API has not been enabled for the client project.
32   */
33  PERMISSION_DENIED = "PERMISSION_DENIED",
34  /**
35   * A specified resource is not found, or the request is rejected by undisclosed reasons, such as whitelisting.
36   */
37  NOT_FOUND = "NOT_FOUND",
38  /**
39   * Concurrency conflict, such as read-modify-write conflict.
40   */
41  ABORTED = "ABORTED",
42  /**
43   * The resource that a client tried to create already exists.
44   */
45  ALREADY_EXISTS = "ALREADY_EXISTS",
46  /**
47   * Request cancelled by the client.
48   */
49  CANCELLED = "CANCELLED",
50  /**
51   * Unknown server error. Typically a server bug.
52   */
53  UNKNOWN = "UNKNOWN",
54  /**
55   * Internal server error. Typically a server bug.
56   */
57  INTERNAL = "INTERNAL",
58  /**
59   * API method not implemented by the server.
60   */
61  NOT_IMPLEMENTED = "NOT_IMPLEMENTED",
62  /**
63   * Service unavailable. Typically the server is down.
64   */
65  UNAVAILABLE = "UNAVAILABLE",
66  /**
67   * Request deadline exceeded. This will happen only if the caller sets a deadline that is shorter than the method's
68   * default deadline (i.e. requested deadline is not enough for the server to process the request) and the request
69   * did not finish within the deadline.
70   */
71  DEADLINE_EXCEEDED = "DEADLINE_EXCEEDED",
72}