Exception: Kabk::NotFoundError
- Defined in:
- lib/kabk/errors.rb
Instance Attribute Summary
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(message = "Resource not found") ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods inherited from ApiError
Constructor Details
#initialize(message = "Resource not found") ⇒ NotFoundError
Returns a new instance of NotFoundError.
52 53 54 |
# File 'lib/kabk/errors.rb', line 52 def initialize( = "Resource not found") super(, code: "NOT_FOUND", http_status: 404) end |