Exception: ESM::Exception::ChannelNotFound
- Defined in:
- lib/esm/exception.rb
Overview
Raised when ESM can't find a channel passed into it's deliver method.
Instance Method Summary collapse
-
#initialize(message, channel) ⇒ ChannelNotFound
constructor
A new instance of ChannelNotFound.
Constructor Details
#initialize(message, channel) ⇒ ChannelNotFound
Returns a new instance of ChannelNotFound.
58 59 60 61 62 63 |
# File 'lib/esm/exception.rb', line 58 def initialize(, channel) = "Failed to send message!\nMessage: #{}\nAttempted to send to channel: " += channel.to_s if channel.present? super() end |