Exception: ActionCable::Connection::Subscriptions::MalformedCommandError
- Inherits:
-
Error
- Object
- StandardError
- Error
- ActionCable::Connection::Subscriptions::MalformedCommandError
- Defined in:
- lib/action_cable/connection/subscriptions.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ MalformedCommandError
constructor
A new instance of MalformedCommandError.
Constructor Details
#initialize(data) ⇒ MalformedCommandError
Returns a new instance of MalformedCommandError.
30 31 32 |
# File 'lib/action_cable/connection/subscriptions.rb', line 30 def initialize(data) super "Malformed command: #{data.inspect}" end |