Exception: Google::Cloud::DeadlineExceededError

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

Overview

DeadlineExceeded means operation expired before completion. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire.

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 DEADLINE_EXCEEDED

Returns:

  • (Integer)


285
286
287
# File 'lib/google/cloud/errors.rb', line 285

def code
  4
end