Skip to main content

Type Alias: CommandArgumentError

type CommandArgumentError = InstanceType<typeof CommandArgumentError[
| "TypeMismatch"
| "InvalidBcsBytes"
| "InvalidUsageOfPureArgument"
| "InvalidArgumentToPrivateEntryFunction"
| "IndexOutOfBounds"
| "SecondaryIndexOutOfBounds"
| "InvalidResultArity"
| "InvalidGasCoinUsage"
| "InvalidValueUsage"
| "InvalidObjectByValue"
| "InvalidObjectByMutRef"
| "SharedObjectOperationNotAllowed"
| "InvalidArgumentArity"]>;

An error with an argument to a command

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.