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
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 '[email protected]' 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 :)
The text was updated successfully, but these errors were encountered:
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 getThe emailAddress '[email protected]' 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 :)
The text was updated successfully, but these errors were encountered: