additionalfield: unique - custom error
Hi guys is there any way to return custom error message from the auth.ts that is set to unique?
user: {
additionalFields: {
employeeID: {
type: 'string',
required: true,
unique: true,
},
},
},
for now only have the status code and statustext, it got error in drizzle

1 Reply
any update on this?
🥲