Properties
cause
cause: DatabaseErrorParent
constraint
constraint: undefined | string
fields
fields: undefined | Record<string, string | number>
parameters
parameters: object
Optional stack
stack?: string
table
table: undefined | string
Static Optional prepareStackTrace
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any
Type declaration
- (err: Error, stackTraces: CallSite[]): any
Parameters
err: Error
stackTraces: CallSite[]
Returns any
Static stackTraceLimit
stackTraceLimit: number
Thrown when an exclusion constraint is violated in the database