Exception: MPV::StartupError
- Defined in:
- lib/mpv_ipc/exceptions.rb
Overview
Raised when the mpv startup has failed.
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ StartupError
constructor
A new instance of StartupError.
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 |