LogoRobo.js
Framework

UniqueConstraintError

Class: UniqueConstraintError

Thrown when a unique constraint is violated.

Extends

Constructors

new UniqueConstraintError()

new UniqueConstraintError(message, options?): UniqueConstraintError

Parameters

ParameterType
messagestring
options?{ cause: Error; field: string; model: string; value: unknown; }
options.cause?Error
options.field?string
options.model?string
options.value?unknown

Returns

UniqueConstraintError

Overrides

FlashcoreError.constructor

Properties

PropertyModifierTypeInherited from
codereadonlystringFlashcoreError.code
field?readonlystring-
model?readonlystring-
value?readonlyunknown-

On this page