Exception: PublishingPlatformApi::ContentStore::ItemNotFound
- Inherits:
-
HTTPNotFound
- Object
- StandardError
- BaseError
- HTTPErrorResponse
- HTTPClientError
- HTTPNotFound
- PublishingPlatformApi::ContentStore::ItemNotFound
- Defined in:
- lib/publishing_platform_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 PublishingPlatformApi::HTTPErrorResponse
Class Method Details
.build_from(http_error) ⇒ Object
8 9 10 |
# File 'lib/publishing_platform_api/content_store.rb', line 8 def self.build_from(http_error) new(http_error.code, http_error., http_error.error_details) end |