Sha256: c405d792cb636e3489a213ccdeb803b45ac51d65b0d176e7a98cf7cfa264f7cb

Contents?: true

Size: 382 Bytes

Versions: 13

Compression:

Stored size: 382 Bytes

Contents

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
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rtesseract-2.0.0 lib/rtesseract/errors.rb
rtesseract-1.3.3 lib/rtesseract/errors.rb
rtesseract-1.3.2 lib/rtesseract/errors.rb
rtesseract-1.3.1 lib/rtesseract/errors.rb
rtesseract-1.3.0 lib/rtesseract/errors.rb
rtesseract-1.2.6 lib/rtesseract/errors.rb
rtesseract-1.2.5 lib/rtesseract/errors.rb
rtesseract-1.2.4 lib/rtesseract/errors.rb
rtesseract-1.2.3 lib/rtesseract/errors.rb
rtesseract-1.2.2 lib/rtesseract/errors.rb
rtesseract-1.2.1 lib/rtesseract/errors.rb
rtesseract-1.2.0 lib/rtesseract/errors.rb
rtesseract-1.1.0 lib/rtesseract/errors.rb