macro_rules! assert_transaction_executor_error {
($execution_result:expr, matches $pat:pat $(if $guard:expr)? $(,)?) => { ... };
($execution_result:expr, $expected:expr $(,)?) => { ... };
}Available on crate feature
testing only.Expand description
Same as assert_execution_error!, but for TransactionExecutorError.
The matches and $expected arms unwrap
TransactionProgramExecutionFailed(_) and match against the inner
ExecutionError.