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