Exception: Forki::VideoSieveFailedError
- Inherits:
-
StandardError
- Object
- StandardError
- Forki::VideoSieveFailedError
- Defined in:
- lib/forki.rb
Instance Method Summary collapse
-
#initialize(msg = "Video sieve failed to find a video", sieve_class: VideoSieve) ⇒ VideoSieveFailedError
constructor
A new instance of VideoSieveFailedError.
Constructor Details
#initialize(msg = "Video sieve failed to find a video", sieve_class: VideoSieve) ⇒ VideoSieveFailedError
Returns a new instance of VideoSieveFailedError.
52 53 54 55 |
# File 'lib/forki.rb', line 52 def initialize(msg = "Video sieve failed to find a video", sieve_class: VideoSieve) self.msg = "#{sieve_class} failed to find a video" if msg.nil? super end |