Skip to main content

CommandArgumentErrorInvalidResultArity

type CommandArgumentErrorInvalidResultArity​

Invalid usage of result. Expected a single result but found either no return value or multiple.

type CommandArgumentErrorInvalidResultArity struct {
Result uint16
}

func (CommandArgumentErrorInvalidResultArity) Destroy​

func (e CommandArgumentErrorInvalidResultArity) Destroy()

func (CommandArgumentErrorInvalidResultArity) ToBcs​

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

Convert this type to BCS encoded bytes.

func (CommandArgumentErrorInvalidResultArity) ToDisplayString​

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

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

Convert this type to a JSON encoded string.