Exception: MuPDF::CommandError
- Inherits:
-
StandardError
- Object
- StandardError
- MuPDF::CommandError
- Defined in:
- lib/mupdf/command_error.rb
Overview
An error raised when an mutool command errors.
Instance Method Summary collapse
-
#initialize(cmd:, result:, status:) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(cmd:, result:, status:) ⇒ CommandError
Returns a new instance of CommandError.
9 10 11 12 13 14 |
# File 'lib/mupdf/command_error.rb', line 9 def initialize(cmd:, result:, status:) super("cmd=#{cmd.inspect} result=#{result.inspect} status=#{status.inspect}") @cmd = cmd @result = result @status = status end |