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
Is your feature request related to a problem? Please describe.
Throw errors use the Error base class, it is difficult to process the caught errors differently (e.g.: with an exception filter)
Describe the solution you'd like
Use custom error classes
This would also allow adding a context (ex: I have two entities A and B with a many-to-many relation, I add several relations A to B where one is invalid, the custom error could contain the list of invalid identifiers)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Throw errors use the
Error
base class, it is difficult to process the caught errors differently (e.g.: with an exception filter)Have you read the Contributing Guidelines?
Yes
Describe the solution you'd like
Use custom error classes
This would also allow adding a context (ex: I have two entities A and B with a many-to-many relation, I add several relations A to B where one is invalid, the custom error could contain the list of invalid identifiers)
The text was updated successfully, but these errors were encountered: