Exception: KazeClient::Error::Forbidden
- Defined in:
- lib/kaze_client/error/forbidden.rb
Overview
Generic 403 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 = '403 Forbidden') ⇒ Forbidden
constructor
A new instance of Forbidden.
Constructor Details
#initialize(msg = '403 Forbidden') ⇒ Forbidden
Returns a new instance of Forbidden.
11 12 13 |
# File 'lib/kaze_client/error/forbidden.rb', line 11 def initialize(msg='403 Forbidden') super(status: :forbidden, message: msg) end |