pub fn get_trace_and_trapcode(trap: &Trap) -> (Vec<FrameInfo>, Option<TrapCode>)
Given a Trap, this function returns the Wasm trace and the trap code.
Trap