#
Class: ConfigSyntaxErrorError specifying that there is syntax error in the config file found therefore it cannot be parsed
#
Hierarchy↳ ConfigSyntaxError
#
Constructors#
constructor+ new ConfigSyntaxError(message?
: string, originalError?
: Error, fileName?
: string): ConfigSyntaxError
#
Parameters:Name | Type |
---|---|
message? | string |
originalError? | Error |
fileName? | string |
Returns: ConfigSyntaxError
Inherited from: ConfigError
Defined in: src/errors.ts:28
#
Properties#
fileName• Optional
fileName: undefined | string
Inherited from: ConfigError.fileName
Defined in: src/errors.ts:11
#
message• message: string
Inherited from: ConfigError.message
Defined in: src/errors.ts:9
#
name• name: string= 'ConfigSyntaxError'
Overrides: ConfigError.name
Defined in: src/errors.ts:28
#
originalError• Optional
originalError: undefined | Error
Inherited from: ConfigError.originalError
Defined in: src/errors.ts:10
#
prepareStackTrace• Optional
prepareStackTrace: undefined | (err
: Error, stackTraces
: CallSite[]) => any
Optional override for formatting stack traces
see
https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
Defined in: node_modules/@types/node/globals.d.ts:11
#
stack• Optional
stack: undefined | string
Inherited from: ConfigError.stack
Defined in: node_modules/typescript/lib/lib.es5.d.ts:975
#
stackTraceLimit• stackTraceLimit: number
Defined in: node_modules/@types/node/globals.d.ts:13
#
Methods#
captureStackTraceâ–¸ captureStackTrace(targetObject
: object, constructorOpt?
: Function): void
Create .stack property on a target object
#
Parameters:Name | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
Returns: void
Defined in: node_modules/@types/node/globals.d.ts:4