ConstraintFailure: {
    message: string;
    name?: string;
    paths?: (number | string)[][];
}

A constraint failure triggered by a query.

Type declaration

  • message: string

    Description of the constraint failure

  • Optionalname?: string

    Name of the failed constraint

  • Optionalpaths?: (number | string)[][]

    Path into the write input data to which the failure applies