UniqueConstraintError

Extends:

ErrorBaseErrorValidationError → UniqueConstraintError

Thrown when a unique constraint is violated in the database

Inherited Summary

From class ValidationError
public
public

get(path: string): ValidationErrorItem[]

Gets all validation error items for the path / field specified.

Copyright © 2014–present Sequelize contributors
Licensed under the MIT License.
https://sequelize.org/v4/class/lib/errors/index.js~UniqueConstraintError.html