Sha256: 58f3bda119e49bc6c08b09ac278b1adf59f5f59f195de9a0636d841539a88cf7

Contents?: true

Size: 356 Bytes

Versions: 15

Compression:

Stored size: 356 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

15 entries across 15 versions & 1 rubygems

Version Path
wisepdf-1.2.6 lib/wisepdf/errors.rb
wisepdf-1.2.5 lib/wisepdf/errors.rb
wisepdf-1.2.4 lib/wisepdf/errors.rb
wisepdf-1.2.3 lib/wisepdf/errors.rb
wisepdf-1.2.2 lib/wisepdf/errors.rb
wisepdf-1.2.1 lib/wisepdf/errors.rb
wisepdf-1.2.0 lib/wisepdf/errors.rb
wisepdf-1.1.3 lib/wisepdf/errors.rb
wisepdf-1.1.2 lib/wisepdf/errors.rb
wisepdf-1.1.1 lib/wisepdf/errors.rb
wisepdf-1.1.0 lib/wisepdf/errors.rb
wisepdf-1.0.3 lib/wisepdf/errors.rb
wisepdf-1.0.2 lib/wisepdf/errors.rb
wisepdf-1.0.1 lib/wisepdf/errors.rb
wisepdf-1.0.0 lib/wisepdf/errors.rb