Exception: PDFKit::ImproperWkhtmltopdfExitStatus

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

Instance Method Summary collapse

Constructor Details

#initialize(invoke) ⇒ ImproperWkhtmltopdfExitStatus

Returns a new instance of ImproperWkhtmltopdfExitStatus.



24
25
26
# File 'lib/pdfkit/pdfkit.rb', line 24

def initialize(invoke)
  super("Command failed (exitstatus=#{$?.exitstatus}): #{invoke}")
end