Class ConstraintViolationsError

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

Export

ConstraintViolationsError

Hierarchy

  • Error
    • ConstraintViolationsError

Constructors

Properties

violations: ConstraintViolation[]

The list of violations that occurred.

prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc