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