Exception: JsonApiClient::Errors::NotFound
- Inherits:
-
ServerError
- Object
- StandardError
- ApiError
- ServerError
- 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.
64 65 66 67 68 69 |
# File 'lib/json_api_client/errors.rb', line 64 def initialize(uri) @uri = uri msg = "Couldn't find resource at: #{uri.to_s}" super nil, msg end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
63 64 65 |
# File 'lib/json_api_client/errors.rb', line 63 def uri @uri end |