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.
51 52 53 54 55 56 |
# File 'lib/ts_json_api/exceptions.rb', line 51 def initialize(*args) = args. .merge! http_code: 404 super self. = "Resource not found" end |