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.
70 71 72 73 74 75 |
# File 'lib/json_api_client/errors.rb', line 70 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.
69 70 71 |
# File 'lib/json_api_client/errors.rb', line 69 def uri @uri end |