Exception: Gcloud::Search::ApiError

Inherits:
Error
  • Object
show all
Defined in:
lib/gcloud/search/errors.rb

Overview

Raised when an API call is not successful.

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject (readonly)

The code of the error.


30
31
32
# File 'lib/gcloud/search/errors.rb', line 30

def code
  @code
end

#errorsObject (readonly)

The errors encountered.


34
35
36
# File 'lib/gcloud/search/errors.rb', line 34

def errors
  @errors
end