Class: LedgerSync::Ledgers::TestLedger::Util::ErrorParser
- Inherits:
-
Object
- Object
- LedgerSync::Ledgers::TestLedger::Util::ErrorParser
- Defined in:
- lib/ledger_sync/test/support/test_ledger/util/error_parser.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
- #error_class ⇒ Object
-
#initialize(error:) ⇒ ErrorParser
constructor
A new instance of ErrorParser.
- #parse ⇒ Object
Constructor Details
#initialize(error:) ⇒ ErrorParser
Returns a new instance of ErrorParser.
12 13 14 |
# File 'lib/ledger_sync/test/support/test_ledger/util/error_parser.rb', line 12 def initialize(error:) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
10 11 12 |
# File 'lib/ledger_sync/test/support/test_ledger/util/error_parser.rb', line 10 def error @error end |
Instance Method Details
#error_class ⇒ Object
16 17 18 |
# File 'lib/ledger_sync/test/support/test_ledger/util/error_parser.rb', line 16 def error_class raise NotImplementedError end |
#parse ⇒ Object
20 21 22 |
# File 'lib/ledger_sync/test/support/test_ledger/util/error_parser.rb', line 20 def parse raise NotImplementedError end |