Sha256: b93106f28080ab49e73a3884e2f888610e693debc288637cf792539295ffa554
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
# RTesseract class RTesseract # Class of error with storage of normal errors class ErrorWithMemory < StandardError attr_accessor :old_error def initialize(stored_error = nil) @old_error = stored_error end end class ConversionError < ErrorWithMemory; end class ImageNotSelectedError < ErrorWithMemory; end class TempFilesNotRemovedError < ErrorWithMemory; end class TesseractVersionError < StandardError def initialize super "Tesseract version is unknown or below 3.03 which is required for pdf output." end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rtesseract-2.2.0 | lib/rtesseract/errors.rb |
rtesseract-2.1.0 | lib/rtesseract/errors.rb |