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