Exception: Cosmo::StreamNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/cosmo.rb,
sig/cosmo.rbs

Instance Method Summary collapse

Constructor Details

#initialize(stream_name) ⇒ StreamNotFoundError

Returns a new instance of StreamNotFoundError.

Parameters:

  • stream_name (::String)


31
32
33
# File 'lib/cosmo.rb', line 31

def initialize(stream_name)
  super("Missing stream `#{stream_name}`")
end