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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google.Cloud.Spanner.Data library is 5.0.0-beta05, with several previous versions available for reference, dating back to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eErrorCode\u003c/code\u003e enum provides detailed codes that are supplied when errors occur, enabling developers to understand the nature of the issue encountered.\u003c/p\u003e\n"],["\u003cp\u003eThere are various fields in the \u003ccode\u003eErrorCode\u003c/code\u003e enum, such as \u003ccode\u003eAborted\u003c/code\u003e, \u003ccode\u003eAlreadyExists\u003c/code\u003e, \u003ccode\u003eCancelled\u003c/code\u003e, etc., each describing a specific type of error condition.\u003c/p\u003e\n"],["\u003cp\u003eThe error codes provide guidance on how to handle each specific error, such as retrying a \u003ccode\u003eSpannerTransaction\u003c/code\u003e in the case of \u003ccode\u003eAborted\u003c/code\u003e, \u003ccode\u003eDeadlineExceeded\u003c/code\u003e, or \u003ccode\u003eUnavailable\u003c/code\u003e errors.\u003c/p\u003e\n"],["\u003cp\u003eThe list of fields in \u003ccode\u003eErrorCode\u003c/code\u003e enum includes common issues like \u003ccode\u003eNotFound\u003c/code\u003e, \u003ccode\u003ePermissionDenied\u003c/code\u003e, and \u003ccode\u003eResourceExhausted\u003c/code\u003e, as well as less common errors such as \u003ccode\u003eDataLoss\u003c/code\u003e and \u003ccode\u003eUnimplemented\u003c/code\u003e, all detailing the cause of the error.\u003c/p\u003e\n"]]],[],null,[]]