Exception: Google::Cloud::UnavailableError

Inherits:
Error
  • Object
show all
Defined in:
lib/google/cloud/errors.rb

Overview

Unavailable indicates the service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.

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

Instance Method Summary collapse

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

#codeInteger

gRPC error code for UNAVAILABLE

Returns:

  • (Integer)


458
459
460
# File 'lib/google/cloud/errors.rb', line 458

def code
  14
end