Exception: Rospatent::Errors::NotFoundError
- Defined in:
- lib/rospatent/errors.rb
Overview
Raised when a resource is not found
Instance Attribute Summary
Attributes inherited from ApiError
#request_id, #response_body, #status_code
Instance Method Summary collapse
-
#initialize(message = "Resource not found", status_code = 404) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods inherited from ApiError
Constructor Details
#initialize(message = "Resource not found", status_code = 404) ⇒ NotFoundError
71 72 73 |
# File 'lib/rospatent/errors.rb', line 71 def initialize( = "Resource not found", status_code = 404) super end |