Exception: JsonApiClient::Errors::NotFound
- Inherits:
-
ClientError
- Object
- StandardError
- ApiError
- ClientError
- JsonApiClient::Errors::NotFound
- Defined in:
- lib/json_api_client/errors.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(uri) ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize(uri) ⇒ NotFound
Returns a new instance of NotFound.
49 50 51 52 53 54 |
# File 'lib/json_api_client/errors.rb', line 49 def initialize(uri) @uri = uri msg = "Resource not found: #{uri.to_s}" super nil, msg end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
48 49 50 |
# File 'lib/json_api_client/errors.rb', line 48 def uri @uri end |