Exception: YouTubeURL::InvalidURLError
- Inherits:
-
StandardError
- Object
- StandardError
- YouTubeURL::InvalidURLError
- Defined in:
- lib/youtube_url/invalid_url_error.rb
Instance Method Summary collapse
-
#initialize(message = 'Please make sure the URL is a valid YouTube URL') ⇒ InvalidURLError
constructor
A new instance of InvalidURLError.
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(='Please make sure the URL is a valid YouTube URL') super() end |