Exception: Google::Cloud::NotFoundError

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

Overview

NotFound means some requested entity (e.g., file or directory) was not found.

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 NOT_FOUND

Returns:

  • (Integer)


298
299
300
# File 'lib/google/cloud/errors.rb', line 298

def code
  5
end