Exception: SlackBot::Errors::UnknownActionTypeError
- Inherits:
-
SlackBot::Error
- Object
- StandardError
- SlackBot::Error
- SlackBot::Errors::UnknownActionTypeError
- Defined in:
- lib/slack_bot/errors.rb,
sig/slack_bot.rbs
Instance Attribute Summary collapse
-
#action_type ⇒ String
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.
83 84 85 86 |
# File 'lib/slack_bot/errors.rb', line 83 def initialize(action_type) @action_type = action_type super("Unknown action type: #{action_type}") end |
Instance Attribute Details
#action_type ⇒ String (readonly)
Returns the value of attribute action_type.
82 83 84 |
# File 'lib/slack_bot/errors.rb', line 82 def action_type @action_type end |