Properties
Optional
causes
causes?: string[]
errorName
errorName: string = 'Payment Required'
httpStatus
httpStatus: number = 402
isDfnsError
isDfnsError: boolean = true
name
name: string = 'PaymentRequiredError'
serviceName
serviceName: string
shouldTriggerInvestigation
shouldTriggerInvestigation: boolean = false
shouldTriggerInvestigaton
shouldTriggerInvestigaton: boolean
Optional
stack
stack?: string
Static
Optional
prepareStackTrace
prepareStackTrace?: ((err, stackTraces) => any)
Type declaration
-
- (err, stackTraces): any
-
Parameters
-
err: Error
-
stackTraces: CallSite[]
Returns any
Static
stackTraceLimit
stackTraceLimit: number
Optional override for formatting stack traces