TruBudget icon indicating copy to clipboard operation
TruBudget copied to clipboard

API custom errors in domain layer contain wrong type (intent/event mixing) SP 1

Open mayrmartin opened this issue 2 years ago • 3 comments

Description 😯

The custom errors in the domain layer of the API do not return the desired "type". The error should not be of type event but rather of type intend.

Have a look at:

mayrmartin avatar Apr 19 '22 08:04 mayrmartin

TODOs:

  • Change return type to intent in all domain layer errors

Stezido avatar May 05 '22 10:05 Stezido

@mayrmartin can you provide more details and if issue is still relevant pls?

galethil avatar Mar 14 '24 09:03 galethil

As far as I can remember, this is a naming/wording issue - on the current main it's easier to see. The error message in its current implementation gets thrown if intents are not applicable - not if events are not applicable.

mayrmartin avatar Mar 14 '24 11:03 mayrmartin