Exception: YouTubeURL::InvalidURLError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/youtube_url/invalid_url_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Please make sure the URL is a valid YouTube URL') ⇒ InvalidURLError

Returns a new instance of InvalidURLError.



3
4
5
# File 'lib/youtube_url/invalid_url_error.rb', line 3

def initialize(message='Please make sure the URL is a valid YouTube URL')
  super(message)
end