MCPcopy
hub / github.com/sequelize/sequelize / CommonErrorProperties

Interface CommonErrorProperties

types/lib/errors.d.ts:119–128  ·  types/lib/errors.d.ts::CommonErrorProperties

Source from the content-addressed store, hash-verified

117}
118
119export interface CommonErrorProperties {
120 /** The database specific error which triggered this one */
121 readonly parent: Error;
122
123 /** The database specific error which triggered this one */
124 readonly original: Error;
125
126 /** The SQL that triggered the error */
127 readonly sql: string;
128}
129
130/**
131 * Thrown when a record was not found, Usually used with rejectOnEmpty mode (see message for details)

Callers

nothing calls this directly

Implementers 2

DatabaseErrortypes/lib/errors.d.ts
UniqueConstraintErrortypes/lib/errors.d.ts

Calls

no outgoing calls

Tested by

no test coverage detected