Exception: EML::REST::NotFoundError
- Inherits:
-
EML::RESTError
- Object
- StandardError
- Error
- EML::RESTError
- EML::REST::NotFoundError
- Defined in:
- lib/eml/error/rest/not_found.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil, response = nil, id:) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods inherited from EML::RESTError
#http_body, #http_headers, #http_status, #url
Constructor Details
#initialize(message = nil, response = nil, id:) ⇒ NotFoundError
Returns a new instance of NotFoundError.
14 15 16 17 |
# File 'lib/eml/error/rest/not_found.rb', line 14 def initialize( = nil, response = nil, id:) ||= %(A record could not be found with ID "#{id}") super(, response) end |