Exception: GdsApi::ContentStore::ItemNotFound
- Inherits:
-
HTTPNotFound
- Object
- StandardError
- BaseError
- HTTPErrorResponse
- HTTPClientError
- HTTPNotFound
- GdsApi::ContentStore::ItemNotFound
- Defined in:
- lib/gds_api/content_store.rb
Instance Attribute Summary
Attributes inherited from HTTPErrorResponse
#code, #error_details, #http_body
Class Method Summary collapse
Methods inherited from HTTPErrorResponse
Methods inherited from BaseError
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., http_error.error_details) end |