Class ConstraintViolationsError

Indicates that one or more constraint violations have occurred when attempting to modify the data in a table.

ConstraintViolationsError

Hierarchy

  • Error
    • ConstraintViolationsError

Constructors

Properties

violations: ConstraintViolation[]

The list of violations that occurred.

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void