Class: LedgerSync::Ledgers::TestLedger::Util::OperationErrorParser::ValidationError
- Inherits:
-
ErrorMatcher
- Object
- ErrorMatcher
- LedgerSync::Ledgers::TestLedger::Util::OperationErrorParser::ValidationError
show all
- Defined in:
- lib/ledger_sync/test/support/test_ledger/util/operation_error_parser.rb
Instance Attribute Summary
Attributes inherited from ErrorMatcher
#error, #message
Instance Method Summary
collapse
#body, #code, #detail, #error_message, #initialize
Instance Method Details
#match? ⇒ Boolean
49
50
51
|
# File 'lib/ledger_sync/test/support/test_ledger/util/operation_error_parser.rb', line 49
def match?
code == 6080
end
|
#output_message ⇒ Object
45
46
47
|
# File 'lib/ledger_sync/test/support/test_ledger/util/operation_error_parser.rb', line 45
def output_message
"Ledger object is not valid: #{error_message}"
end
|