Class: LedgerSync::Ledgers::TestLedger::Util::OperationErrorParser::GenericMatcher
- Inherits:
-
ErrorMatcher
- Object
- ErrorMatcher
- LedgerSync::Ledgers::TestLedger::Util::OperationErrorParser::GenericMatcher
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
#error_class ⇒ Object
55
56
57
|
# File 'lib/ledger_sync/test/support/test_ledger/util/operation_error_parser.rb', line 55
def error_class
Error::OperationError
end
|
#match? ⇒ Boolean
63
64
65
|
# File 'lib/ledger_sync/test/support/test_ledger/util/operation_error_parser.rb', line 63
def match?
true
end
|
#output_message ⇒ Object
59
60
61
|
# File 'lib/ledger_sync/test/support/test_ledger/util/operation_error_parser.rb', line 59
def output_message
"Something went wrong: #{error_message}"
end
|