exiterror
@listenai/lisa_core / Exports / ExitError
Class: ExitError
#
HierarchyError
↳
ExitError
#
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor• new ExitError(status
, error?
)
#
ParametersName | Type |
---|---|
status | number |
error? | Error |
#
OverridesError.constructor
#
Defined innode_modules/cli-ux/lib/exit.d.ts:6
#
Properties#
cli-ux• cli-ux: Object
#
Type declarationName | Type |
---|---|
exit | number |
#
Defined innode_modules/cli-ux/lib/exit.d.ts:1
#
code• code: "EEXIT"
#
Defined innode_modules/cli-ux/lib/exit.d.ts:5
#
error• Optional
error: Error
#
Defined innode_modules/cli-ux/lib/exit.d.ts:6
#
message• message: string
#
Inherited fromError.message
#
Defined innode_modules/typescript/lib/lib.es5.d.ts:974
#
name• name: string
#
Inherited fromError.name
#
Defined innode_modules/typescript/lib/lib.es5.d.ts:973
#
stack• Optional
stack: string
#
Inherited fromError.stack
#
Defined innode_modules/typescript/lib/lib.es5.d.ts:975
#
prepareStackTrace▪ Static
Optional
prepareStackTrace: (err
: Error
, stackTraces
: CallSite
[]) => any
#
Type declaration▸ (err
, stackTraces
): any
Optional override for formatting stack traces
#
ParametersName | Type |
---|---|
err | Error |
stackTraces | CallSite [] |
#
Returnsany
#
Inherited fromError.prepareStackTrace
#
Defined innode_modules/@types/node/globals.d.ts:11
#
stackTraceLimit▪ Static
stackTraceLimit: number
#
Inherited fromError.stackTraceLimit
#
Defined innode_modules/@types/node/globals.d.ts:13
#
Methods#
captureStackTrace▸ Static
captureStackTrace(targetObject
, constructorOpt?
): void
Create .stack property on a target object
#
ParametersName | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
#
Returnsvoid
#
Inherited fromError.captureStackTrace
#
Defined innode_modules/@types/node/globals.d.ts:4