Exception: Google::Cloud::InvalidArgumentError

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

Overview

InvalidArgument indicates client specified an invalid argument. Note that this differs from FailedPrecondition. It indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name).

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 INVALID_ARGUMENT

Returns:

  • (Integer)


269
270
271
# File 'lib/google/cloud/errors.rb', line 269

def code
  3
end