Google.Cloud.Spanner.Data - Enum ErrorCode (5.0.0-beta02)

public enum ErrorCode

Reference documentation and code samples for the Google.Cloud.Spanner.Data enum ErrorCode.

A detailed code supplied via ErrorCode when an error occurs.

Namespace

Google.Cloud.Spanner.Data

Assembly

Google.Cloud.Spanner.Data.dll

Fields

NameDescription
Aborted

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.