google-cloud-errors - Class Google::Cloud::AbortedError (v1.3.1)

Reference documentation and code samples for the google-cloud-errors class Google::Cloud::AbortedError.

Aborted indicates the operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.

See litmus test above for deciding between FailedPrecondition, Aborted, and Unavailable.

Methods

#code

def code() -> Integer

gRPC error code for ABORTED

Returns
  • (Integer)