Exception: ApiError::NotFound
- Defined in:
- lib/api_error/not_found.rb
Overview
Exception thrown for 404 errors
Instance Attribute Summary
Attributes inherited from Http
Instance Method Summary collapse
-
#initialize(message = "Not found") ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize(message = "Not found") ⇒ NotFound
Returns a new instance of NotFound.
8 9 10 |
# File 'lib/api_error/not_found.rb', line 8 def initialize( = "Not found") super(, 404) end |