Exception: WeasyPrint::NoExecutableError

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

Instance Method Summary collapse

Constructor Details

#initializeNoExecutableError

Returns a new instance of NoExecutableError.



6
7
8
9
10
# File 'lib/weasyprint/weasyprint.rb', line 6

def initialize
  msg  = "No weasyprint executable found at #{WeasyPrint.configuration.weasyprint}\n"
  msg << ">> Please install weasyprint - http://weasyprint.org/docs/install/"
  super(msg)
end