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
I want to send an additional prop in my error responses. For example code: "invitation_not_found" and I don't want it to be under data, but in the root error object.
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
hymair
changed the title
Don't nest custom error data under data
Allow arbitrary additional props to be passed to createErrorJun 12, 2024
Describe the feature
I want to send an additional prop in my error responses. For example
code: "invitation_not_found"
and I don't want it to be under data, but in the root error object.Additional information
The text was updated successfully, but these errors were encountered: