Exception: Google::Cloud::UnknownError

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

Overview

Unknown error. An example of where this error may be returned is if a Status value received from another address space belongs to an error-space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error.

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 UNKNOWN

Returns:

  • (Integer)


254
255
256
# File 'lib/google/cloud/errors.rb', line 254

def code
  2
end