Exception: Google::Cloud::AbortedError
- Defined in:
- lib/google/cloud/errors.rb
Overview
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.
Instance Method Summary collapse
-
#code ⇒ Integer
gRPC error code for ABORTED.
Methods inherited from Error
#body, #details, #domain, #error_info, #error_metadata, #header, #initialize, #metadata, #reason, #status_code, #status_details
Constructor Details
This class inherits a constructor from Google::Cloud::Error
Instance Method Details
#code ⇒ Integer
gRPC error code for ABORTED
388 389 390 |
# File 'lib/google/cloud/errors.rb', line 388 def code 10 end |