Properties
cause
cause: DatabaseErrorParent
fields
fields: undefined | {}
index
index: undefined | string
parameters
parameters: object
reltype
reltype: undefined | RelationshipType
Optional stack
stack?: string
table
table: undefined | string
value
value: unknown
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 a foreign key constraint is violated in the database