Skip to main content

ExecutionStatusFailure

type ExecutionStatusFailure​

The Transaction didn't execute successfully.

Failed transactions are still committed to the blockchain but any intended effects are rolled back to prior to this transaction executing with the caveat that gas objects are still smashed and gas usage is still charged.

type ExecutionStatusFailure struct {
Error ExecutionError
Command *uint64
}

func (ExecutionStatusFailure) Destroy​

func (e ExecutionStatusFailure) Destroy()

func (ExecutionStatusFailure) ToBcs​

func (_self ExecutionStatusFailure) ToBcs() ([]byte, error)

Convert this type to BCS encoded bytes.

func (ExecutionStatusFailure) ToDisplayString​

func (_self ExecutionStatusFailure) ToDisplayString() string

Render this type as human-readable text.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

func (ExecutionStatusFailure) ToJson​

func (_self ExecutionStatusFailure) ToJson() (string, error)

Convert this type to a JSON encoded string.