solana_program_runtime::stable_log

Function program_failure

source
pub fn program_failure<E: Display>(
    log_collector: &Option<Rc<RefCell<LogCollector>>>,
    program_id: &Pubkey,
    err: &E,
)
Expand description

Log program execution failure

The general form is:

"Program <address> failed: <program error details>"