class Gapic::GRPC::DeadlineExceededError


when the DeadlineExceeded error occured.
@return [Object, nil] The exception that was being retried
@!attribute [r] root_cause
`root_cause` attribute.
that was being retried until the deadline was exceeded (if any) as a
This exception rewraps ::GRPC::DeadlineExceeded, adding an exception
the readon for the timeout.
::GRPC::Unavailable), that exception could be useful for understanding
If the deadline was exceeded while retrying another exception (e.g.
The GRPC layer throws ::GRPC::DeadlineExceeded without any context.
retry root cause.
An error class that represents Deadline Exceeded error with an optional
#

def initialize message, root_cause: nil

Parameters:
  • root_cause (Object, nil) -- The exception that was being retried
  • message (String) -- The error message.
def initialize message, root_cause: nil
  super message
  @root_cause = root_cause
end