Skip to main content

CommandArgumentErrorInvalidArgumentArity

type CommandArgumentErrorInvalidArgumentArity​

Invalid argument arity. Expected a single argument but found a result that expanded to multiple arguments.

type CommandArgumentErrorInvalidArgumentArity struct {
}

func (CommandArgumentErrorInvalidArgumentArity) Destroy​

func (e CommandArgumentErrorInvalidArgumentArity) Destroy()

func (CommandArgumentErrorInvalidArgumentArity) ToBcs​

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

Convert this type to BCS encoded bytes.

func (CommandArgumentErrorInvalidArgumentArity) ToDisplayString​

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

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

Convert this type to a JSON encoded string.