Exception: MPV::StartupError

Inherits:
Error
  • Object
show all
Defined in:
lib/mpv_ipc/exceptions.rb

Overview

Raised when the mpv startup has failed.

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ StartupError

Returns a new instance of StartupError.



37
38
39
# File 'lib/mpv_ipc/exceptions.rb', line 37

def initialize(msg=nil)
  super("Failed to start mpv#{": #{msg}" if msg}")
end