Exception: Slacks::NotInChannelError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Slacks::NotInChannelError
- Defined in:
- lib/slacks/errors.rb
Instance Method Summary collapse
-
#initialize(channel) ⇒ NotInChannelError
constructor
A new instance of NotInChannelError.
Constructor Details
#initialize(channel) ⇒ NotInChannelError
Returns a new instance of NotInChannelError.
88 89 90 |
# File 'lib/slacks/errors.rb', line 88 def initialize(channel) super "The bot is not in the channel #{channel} and cannot reply" end |