pub fn parse_simulation_program_error(
error: &Value,
swap_program_id: &Pubkey,
treasury_program_id: Option<&Pubkey>,
) -> Option<ParsedSimulationProgramError>Expand description
Attribute a simulation failure using runtime invocation ownership, not just its numeric Custom code. Bare Custom codes cannot identify a program.