Exception: RubyTube::VideoUnavailable

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubytube/error.rb,
lib/rubytube/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(video_id) ⇒ VideoUnavailable

Returns a new instance of VideoUnavailable.



33
34
35
# File 'lib/rubytube/error.rb', line 33

def initialize(video_id)
  super("Video unavailable: #{video_id}")
end