Exception: WitBot::WitError
- Inherits:
-
WitBotError
- Object
- StandardError
- WitBotError
- WitBot::WitError
- Defined in:
- lib/wit_bot/errors/wit_error.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ WitError
constructor
A new instance of WitError.
Constructor Details
#initialize(status) ⇒ WitError
Returns a new instance of WitError.
5 6 7 |
# File 'lib/wit_bot/errors/wit_error.rb', line 5 def initialize(status) @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
3 4 5 |
# File 'lib/wit_bot/errors/wit_error.rb', line 3 def status @status end |