Exception: AsyncCable::Errors::StreamNameNotSet

Inherits:
Error
  • Object
show all
Defined in:
lib/async_cable/errors.rb

Overview

Instance Method Summary collapse

Methods inherited from Error

#code

Constructor Details

#initialize(class_name) ⇒ StreamNameNotSet

Returns a new instance of StreamNameNotSet.



11
12
13
# File 'lib/async_cable/errors.rb', line 11

def initialize(class_name)
  super("#stream_for must be called with stream name in #{class_name}#on_open")
end