Share feedback
Answers are generated based on the documentation.

Experimental

Schema

ErrorCode

Type: string

Known public failure categories. Error.code also accepts future strings.
All schema constraints and annotations
{
  "description": "Known public failure categories. Error.code also accepts future strings.",
  "enum": [
    "canceled",
    "unknown",
    "invalidArgument",
    "deadlineExceeded",
    "notFound",
    "alreadyExists",
    "permissionDenied",
    "resourceExhausted",
    "failedPrecondition",
    "aborted",
    "outOfRange",
    "unimplemented",
    "internal",
    "unavailable",
    "dataLoss",
    "unauthenticated"
  ],
  "type": "string"
}