Exception: PdfCover::Converter::CommandFailedError

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

Instance Method Summary collapse

Constructor Details

#initialize(stdout_str, stderr_str) ⇒ CommandFailedError

Returns a new instance of CommandFailedError.



15
16
17
# File 'lib/pdf_cover/converter.rb', line 15

def initialize(stdout_str, stderr_str)
  super("PDF conversion failed:\nSTDOUT: #{stdout_str}\nSTDERR: #{stderr_str}")
end