Skip to main content

ExecutionErrorMoveVectorElemTooBig

type ExecutionErrorMoveVectorElemTooBig​

Move vector element (passed to MakeMoveVec) is larger than the maximum size. The maximum is scaled based on the type of the vector element.

type ExecutionErrorMoveVectorElemTooBig struct {
ValueSize uint64
MaxScaledSize uint64
}

func (ExecutionErrorMoveVectorElemTooBig) Destroy​

func (e ExecutionErrorMoveVectorElemTooBig) Destroy()

func (ExecutionErrorMoveVectorElemTooBig) ToBcs​

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

Convert this type to BCS encoded bytes.

func (ExecutionErrorMoveVectorElemTooBig) ToDisplayString​

func (_self ExecutionErrorMoveVectorElemTooBig) 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 (ExecutionErrorMoveVectorElemTooBig) ToJson​

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

Convert this type to a JSON encoded string.