Properties
Optional
cause
cause?: unknown
code
code: string = InvalidParametersError.code
name
name: string = InvalidParametersError.name
Optional
stack
stack?: string
Static
code
code: string = 'ERR_INVALID_PARAMS'
Static
name
name: string = 'InvalidParametersError'
Static
Optional
prepareStackTrace
prepareStackTrace?: ((err, stackTraces) => any)
Type declaration
- (err, stackTraces): any
Returns any
Static
stackTraceLimit
stackTraceLimit: number
Optional override for formatting stack traces