Exception: KazeClient::Error::NotFound
- Defined in:
- lib/kaze_client/error/not_found.rb
Overview
404 error sent by Kaze server
Constant Summary
Constants inherited from Generic
Instance Attribute Summary
Attributes inherited from Generic
Instance Method Summary collapse
-
#initialize(msg = '404 Not Found') ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize(msg = '404 Not Found') ⇒ NotFound
Returns a new instance of NotFound.
11 12 13 |
# File 'lib/kaze_client/error/not_found.rb', line 11 def initialize(msg='404 Not Found') super(status: :not_found, message: msg) end |