Exception: ActionCable::Connection::Subscriptions::MalformedCommandError

Inherits:
Error
  • Object
show all
Defined in:
lib/action_cable/connection/subscriptions.rb

Instance Method Summary collapse

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