Skip to main content

ExecutionError

type ExecutionError​

An error that can occur during the execution of a transaction

BCS​

The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).

type ExecutionError interface {
Destroy()
ToBcs() ([]byte, error)
ToDisplayString() string
ToJson() (string, error)
}

func ExecutionErrorFromBcs​

func ExecutionErrorFromBcs(bcs []byte) (ExecutionError, error)

Create this type from BCS encoded bytes.

func ExecutionErrorFromJson​

func ExecutionErrorFromJson(json string) (ExecutionError, error)

Create this type from a JSON encoded string.