[go-nuts] Re: Modeling domain errors

2023-04-21 Thread 'Torben Schinke' via golang-nuts
Also asked this on reddit and the feedback can be found here: https://www.reddit.com/r/golang/comments/12tsnhf/who_returns_specific_error_interfaces_to_model/ Torben Schinke schrieb am Mittwoch, 19. April 2023 um 12:01:33 UTC+2: > We are a team of experienced developers and are currently

[go-nuts] Modeling domain errors

2023-04-19 Thread 'Torben Schinke' via golang-nuts
We are a team of experienced developers and are currently discussing how we may improve our modeling of expected domain errors in our layered architecture. We are used to work with the idiomatic way of defining and matching against our custom error types. We followed and understand the design