StatusErrorOptions
Defined in: src/error-model.ts:426
Options for StatusError.
Properties
Section titled “Properties”code: | "CANCELLED" | "UNKNOWN" | "INVALID_ARGUMENT" | "DEADLINE_EXCEEDED" | "NOT_FOUND" | "ALREADY_EXISTS" | "PERMISSION_DENIED" | "RESOURCE_EXHAUSTED" | "FAILED_PRECONDITION" | "ABORTED" | "OUT_OF_RANGE" | "UNIMPLEMENTED" | "INTERNAL" | "UNAVAILABLE" | "DATA_LOSS" | "UNAUTHENTICATED";Defined in: src/error-model.ts:428
One of the sixteen canonical codes.
details?
Section titled “details?”optional details?: readonly ( | ErrorDetailJson | ErrorDetail)[];Defined in: src/error-model.ts:433
Catalog details, at most one of each type. Protocol-defined types live under the protocol’s own name.
optional kind?: string;Defined in: src/error-model.ts:430
The reason a client branches on, unique within the raising protocol.
