gapic-common - Class Gapic::Rest::DeadlineExceededError (v0.24.0)

Reference documentation and code samples for the gapic-common class Gapic::Rest::DeadlineExceededError.

An error class that represents DeadlineExceeded error for Rest with an optional retry root cause.

If the deadline for making a call was exceeded during the rest calls, this exception is thrown wrapping Faraday::TimeoutError.

If there were other exceptions retried before that, the last one will be saved as a "root_cause".

Methods

#root_cause

def root_cause() -> Object, nil
Returns
  • (Object, nil) — The exception that was being retried when the Faraday::TimeoutError error occured.