Exception: SlackBot::Errors::UnknownActionTypeError
- Inherits:
-
SlackBot::Error
- Object
- StandardError
- SlackBot::Error
- SlackBot::Errors::UnknownActionTypeError
- Defined in:
- lib/slack_bot/errors.rb
Instance Attribute Summary collapse
-
#action_type ⇒ Object
readonly
Returns the value of attribute action_type.
Instance Method Summary collapse
-
#initialize(action_type) ⇒ UnknownActionTypeError
constructor
A new instance of UnknownActionTypeError.
Constructor Details
#initialize(action_type) ⇒ UnknownActionTypeError
Returns a new instance of UnknownActionTypeError.
77 78 79 80 |
# File 'lib/slack_bot/errors.rb', line 77 def initialize(action_type) @action_type = action_type super("Unknown action type: #{action_type}") end |
Instance Attribute Details
#action_type ⇒ Object (readonly)
Returns the value of attribute action_type.
76 77 78 |
# File 'lib/slack_bot/errors.rb', line 76 def action_type @action_type end |