Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CCliUsageError

Thrown to print usage documentation and an error message

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • Default value message: string = ""

      If provided, the CCli runner will also print "Error: <your message>" when it encounters this error

    • Optional tree: CCliTree

      Used internally for constructing the command-line usage string

    Returns CCliUsageError

Properties

message

message: string

If provided, the CCli runner will also print "Error: <your message>" when it encounters this error

name

name: string

Optional stack

stack: undefined | string

Optional tree

tree: CCliTree

Used internally for constructing the command-line usage string

Static Error

Error: ErrorConstructor

Generated using TypeDoc and MonoLisa