Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CliTerseError

Thrown to print an error message but not a stack

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new CliTerseError(message: string, exitCode?: number): CliTerseError

Properties

code

code: typeof CLI_TERSE_ERROR

The string constant CLI_TERSE_ERROR

exitCode

exitCode: number

Numeric code with which to return/exit

message

message: string

name

name: string

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Generated using TypeDoc and MonoLisa