Exception: GdsApi::Base::ItemNotFound
- Inherits:
-
HTTPNotFound
- Object
- StandardError
- GdsApi::BaseError
- HTTPErrorResponse
- HTTPClientError
- HTTPNotFound
- GdsApi::Base::ItemNotFound
- Defined in:
- lib/gds_api/base.rb
Instance Attribute Summary
Attributes inherited from HTTPErrorResponse
#code, #error_details, #http_body
Class Method Summary collapse
Methods inherited from HTTPErrorResponse
Methods inherited from GdsApi::BaseError
Constructor Details
This class inherits a constructor from GdsApi::HTTPErrorResponse
Class Method Details
.build_from(http_error) ⇒ Object
12 13 14 |
# File 'lib/gds_api/base.rb', line 12 def self.build_from(http_error) new(http_error.code, http_error., http_error.error_details) end |