Sha256: cad2685c03b431bad5ddff8df612eb64b625652e77767a165a42233bb62ff66d

Contents?: true

Size: 355 Bytes

Versions: 7

Compression:

Stored size: 355 Bytes

Contents

module Wisepdf
  class NoExecutableError < StandardError
    def initialize(path=nil)
      msg = "No wkhtmltopdf found or it is not executable\n"
      msg += "Path: '#{path}'\n" unless path.nil?
      msg += "Please install wkhtmltopdf - http://code.google.com/p/wkhtmltopdf"
      super(msg)
    end
  end

  class WriteError < StandardError
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wisepdf-1.4.0 lib/wisepdf/errors.rb
wisepdf-1.3.1 lib/wisepdf/errors.rb
wisepdf-1.3.0 lib/wisepdf/errors.rb
wisepdf-1.2.10 lib/wisepdf/errors.rb
wisepdf-1.2.9 lib/wisepdf/errors.rb
wisepdf-1.2.8 lib/wisepdf/errors.rb
wisepdf-1.2.7 lib/wisepdf/errors.rb