Exception: GdsApi::ContentStore::ItemNotFound

Inherits:
HTTPNotFound show all
Defined in:
lib/gds_api/content_store.rb

Instance Attribute Summary

Attributes inherited from HTTPErrorResponse

#code, #error_details

Class Method Summary collapse

Methods inherited from HTTPErrorResponse

#initialize

Methods inherited from BaseError

#raven_context

Constructor Details

This class inherits a constructor from GdsApi::HTTPErrorResponse

Class Method Details

.build_from(http_error) ⇒ Object



8
9
10
# File 'lib/gds_api/content_store.rb', line 8

def self.build_from(http_error)
  new(http_error.code, http_error.message, http_error.error_details)
end