Exception: Spacebunny::LiveStreamParamError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/spacebunny/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(live_stream_name, param_name) ⇒ LiveStreamParamError

Returns a new instance of LiveStreamParamError.



56
57
58
59
60
# File 'lib/spacebunny/exceptions.rb', line 56

def initialize(live_stream_name, param_name)
  live_stream_name = live_stream_name || 'no-name-provided'
  "Live Stream '#{live_stream_name}' misses mandatory '#{param_name}' param"
  super(message)
end