OptionalcauseThe database-specific error which triggered this one
ReadonlyerrorsArray of ValidationErrorItem objects describing the validation errors
ReadonlyfieldsReadonlysqluse Error.cause.
use Error.cause.
Gets all validation error items for the path / field specified.
The path to be checked for error items
Validation error items for the specified path
Thrown when a unique constraint is violated in the database