Exception: RubyTube::LiveStreamError
- Inherits:
-
StandardError
- Object
- StandardError
- RubyTube::LiveStreamError
- Defined in:
- lib/rubytube/error.rb
Instance Method Summary collapse
-
#initialize(video_id) ⇒ LiveStreamError
constructor
A new instance of LiveStreamError.
Constructor Details
#initialize(video_id) ⇒ LiveStreamError
Returns a new instance of LiveStreamError.
45 46 47 |
# File 'lib/rubytube/error.rb', line 45 def initialize(video_id) super("Video is a live stream: #{video_id}") end |