You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 14, 2026. It is now read-only.
Right now I'm using the .columns property on UniqueViolationErrors to format some human-readable error messages, i.e. This emailAddress is already in use. It would be great to be able to get the values that violate the constraint as well, to more easily get The emailAddress 'joseph@somewhere.com' is already in use.
Right now I can parse this out of the nativeError.detail property (I'm using PostgreSQL, not sure if this is a property specific to that).
Otherwise ~ thanks for this lib, it's super helpful to have a more structured way to deal with errors :)
Right now I'm using the
.columnsproperty on UniqueViolationErrors to format some human-readable error messages, i.e.This emailAddress is already in use. It would be great to be able to get the values that violate the constraint as well, to more easily getThe emailAddress 'joseph@somewhere.com' is already in use.Right now I can parse this out of the
nativeError.detailproperty (I'm using PostgreSQL, not sure if this is a property specific to that).Otherwise ~ thanks for this lib, it's super helpful to have a more structured way to deal with errors :)