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

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

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.

Methods

#code

def code() -> Integer

gRPC error code for UNAVAILABLE

Returns
  • (Integer)