Skip to content

Defined in: query/errors.ts:33

Thrown when a create or update operation would violate a uniqueness constraint on a primary key or unique-flagged field.

Extends ​

Constructors ​

Constructor ​

new UniqueConstraintError(modelName, fieldName, value): UniqueConstraintError

Defined in: query/errors.ts:34

Parameters ​

modelName ​

string

fieldName ​

string

value ​

unknown

Returns ​

UniqueConstraintError

Overrides ​

SheetsError.constructor

Released under the MIT License.