Exception: Google::Cloud::AlreadyExistsError

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

Overview

AlreadyExists means an attempt to create an entity failed because one already exists.

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 ALREADY_EXISTS

Returns:

  • (Integer)


311
312
313
# File 'lib/google/cloud/errors.rb', line 311

def code
  6
end