pub struct Backtrace { /* private fields */ }
Expand description
Runtime description derived from a VM error.
Implementations
Create a backtrace from a vm instance and instruction result.
This isn’t copy-free and shouldn’t be provided by default.
Call stack of the VM when the error occurred.
Last contract of the context when the error occurred.
Memory of the VM when the error occurred.
InstructionResult
of the error that caused this backtrace.
pub const fn tx(&self) -> &TransactionⓘNotable traits for Transactionimpl Write for Transactionimpl Read for Transaction
pub const fn tx(&self) -> &TransactionⓘNotable traits for Transactionimpl Write for Transactionimpl Read for Transaction
Notable traits for Transaction
impl Write for Transactionimpl Read for Transaction
Transaction
state when the error occurred.
pub fn into_inner(
self
) -> (Vec<CallFrame>, ContractId, [Word; 64], Vec<u8>, InstructionResult, Transaction)
pub fn into_inner(
self
) -> (Vec<CallFrame>, ContractId, [Word; 64], Vec<u8>, InstructionResult, Transaction)
Expose the internal attributes of the backtrace.