Exception: Forki::VideoSieveFailedError

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

Instance Method Summary collapse

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