Skip to main content

CommandArgumentError

Thrown when a command is given an argument it cannot read.

@group

Errors/Command

@throws

When a command's argument is not in the form the command expects.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • message: string

      The error message.

    • argument: string

      The argument that could not be read.

    Returns CommandArgumentError

Properties

readonlyargument

argument: string

The argument as it was given.

Page Options