Exception: Origami::Filter::Error
- Defined in:
- lib/origami/filters.rb
Overview
Base class for filter Exceptions.
Direct Known Subclasses
CCITTFaxFilterError, DecodeError, NotImplementedError, PredictorError, Utils::BitReaderError, Utils::BitWriterError
Instance Attribute Summary collapse
-
#decoded_data ⇒ Object
Returns the value of attribute decoded_data.
-
#input_data ⇒ Object
Returns the value of attribute input_data.
Instance Method Summary collapse
-
#initialize(message, input_data: nil, decoded_data: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, input_data: nil, decoded_data: nil) ⇒ Error
Returns a new instance of Error.
52 53 54 55 56 |
# File 'lib/origami/filters.rb', line 52 def initialize(, input_data: nil, decoded_data: nil) super() @input_data, @decoded_data = input_data, decoded_data end |
Instance Attribute Details
#decoded_data ⇒ Object
Returns the value of attribute decoded_data.
50 51 52 |
# File 'lib/origami/filters.rb', line 50 def decoded_data @decoded_data end |
#input_data ⇒ Object
Returns the value of attribute input_data.
50 51 52 |
# File 'lib/origami/filters.rb', line 50 def input_data @input_data end |