Class MemcoPermissionError
Hierarchy (View Summary)
- MemcoAPIError
- MemcoPermissionError
Constructors
constructor
-
new MemcoPermissionError(
code: Status,
detail: string,
debugErrorString?: string,
): MemcoPermissionErrorParameters
- code: Status
- detail: string
OptionaldebugErrorString: string
Returns MemcoPermissionError
Properties
Readonlycode
code: Status
The gRPC status code, as @grpc/grpc-js's numeric status enum.
ReadonlycodeName
codeName: string
The status code's name, such as UNAUTHENTICATED.
Readonlydetail
detail: string
The service's own description of the failure, without the code prefix.
ReadonlydebugErrorString
debugErrorString: string | undefined
gRPC's internal diagnostic string, when the call carried one.
The credential is valid but does not reach what was asked for.
The request is well formed and the credential is genuine, so neither a retry nor a different argument changes the answer: the credential itself has to be granted what it was refused. Distinct from MemcoAuthenticationError, which says it was not accepted at all.