Domain-driven error handling. Don't handle errors - prevent them.
Good error handling is crucial, but the role of errors in software design is often underestimated. This post describes 4 techniques to improve error handling in your system by designing it with failures in mind.
https://mkaszubowski.com/2020/11/18/domain-driven-error-handling.html
Read next Introducing MockMe Hex Package