Exception: TsJsonApi::ResourceNotFound
- Defined in:
- lib/ts_json_api/exceptions.rb
Overview
Not found
Instance Attribute Summary
Attributes inherited from Exception
#http_code, #message, #rest_client_exception
Instance Method Summary collapse
-
#initialize(*args) ⇒ ResourceNotFound
constructor
A new instance of ResourceNotFound.
Methods inherited from Exception
Constructor Details
#initialize(*args) ⇒ ResourceNotFound
Returns a new instance of ResourceNotFound.
61 62 63 64 65 66 |
# File 'lib/ts_json_api/exceptions.rb', line 61 def initialize(*args) = args. .merge! http_code: 404 super self. = "Resource not found" end |