Exception: Spacebunny::LiveStreamNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Spacebunny::LiveStreamNotFound
- Defined in:
- lib/spacebunny/exceptions.rb
Instance Method Summary collapse
-
#initialize(name = nil) ⇒ LiveStreamNotFound
constructor
A new instance of LiveStreamNotFound.
Constructor Details
#initialize(name = nil) ⇒ LiveStreamNotFound
Returns a new instance of LiveStreamNotFound.
45 46 47 48 49 50 51 52 |
# File 'lib/spacebunny/exceptions.rb', line 45 def initialize(name = nil) = if name "Live Stream '#{name}' not found. Did you created and configured it?" else 'Live Stream not found' end super() end |