Accept only an error emitted by one of these contract IDs (C…), for
example the lending controller and pool. The emitter is read from the
diagnostic event log, or from the [xoxno-invoked:<id>] tag that
prepareStellarTxXdr adds when the string has no event log.
RPC simulation errors usually carry only the top-level code
(HostError: Error(Contract, #N)). With only the tag, a code raised by a
nested contract (for example the swap aggregator or a token) cannot be told
apart; read the simulation's diagnostic events when that matters.
Tag-only matches on codes 1, 3, 6, 10, 11 and 12 return null.
Accept only an error emitted by one of these contract IDs (
C…), for example the lending controller and pool. The emitter is read from the diagnostic event log, or from the[xoxno-invoked:<id>]tag thatprepareStellarTxXdradds when the string has no event log.RPC simulation errors usually carry only the top-level code (
HostError: Error(Contract, #N)). With only the tag, a code raised by a nested contract (for example the swap aggregator or a token) cannot be told apart; read the simulation's diagnostic events when that matters. Tag-only matches on codes 1, 3, 6, 10, 11 and 12 returnnull.