The operation was aborted due to transient issue such as competing transaction
resources. A SpannerTransaction should be retried if this error
is encountered.
AlreadyExists
The given resource could be not created because it already exists.
Cancelled
The operation was cancelled.
DataLoss
Unrecoverable data loss or corruption.
DeadlineExceeded
A timeout has occurred. A SpannerTransaction should be
retried if this error is encountered.
FailedPrecondition
Operation was rejected because the system is not in a state required for the
operation's execution.
Internal
Internal error.
InvalidArgument
A bad SQL statement or other invalid input was sent to Spanner.
NotFound
The given resource (Spanner Instance, Database, Table) was not
found.
OutOfRange
The operation attempted to read past the valid range.
PermissionDenied
The supplied credential from CredentialFile
or from default application credentials does not have sufficient permission for the request.
ResourceExhausted
A resource associated with Spanner has been exhausted. This may occur due to a server-side
failure, or due to the local maximum number of sessions being reached.
Unauthenticated
There is no supplied credential either through default application credentials or
directly through CredentialFile
Unavailable
The service is currently unavailable. This is a most likely a transient condition
and may be corrected by retrying. A SpannerTransaction should be
retried if this error is encountered.
Unimplemented
Operation is not implemented or not supported/enabled in this service.
Unknown
Unknown error. This may happen if an internal error occured or
not enough information was obtained to produce a useful message.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["The `ErrorCode` enum in the `Google.Cloud.Spanner.Data` namespace provides detailed codes for errors encountered during Spanner operations, helping to identify the specific cause of each error."],["Version 5.0.0-beta05 is the latest version of the documentation, while version 4.0.0 is the currently viewed version, and many versions between 3.5.0 and 5.0.0-beta05 can be found, in addition to further detailed information about each version."],["The error codes cover a range of issues, including transient problems like `Aborted` and `Unavailable`, resource-related errors like `ResourceExhausted`, and data-specific errors such as `DataLoss`."],["Specific error messages, like `PermissionDenied` and `Unauthenticated`, indicate problems with user credentials and the user's permission level."],["The error code fields each have a Name and Description, the Name is the `ErrorCode` such as `Aborted` and the Description details what the `ErrorCode` means in terms of what happened, such as \"The operation was aborted due to transient issue such as competing transaction resources.\"."]]],[]]