CodeX
Published in

CodeX

Pragmatic error handling

I’ll present a simple and practical approach to error management, based on my experience.

This is the result of my analysis of the most common problems I found in enterprise applications. We’ll walk through some patterns and anti-patterns about creating, throwing, and handling exceptions.

Don’t centralize

Avoid exception hierarchies

Inheritance is often abused in the object-oriented paradigm. This also happens on exception…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Luís Soares

Luís Soares

I write about Lean, TDD, CI/CD, trunk-based dev., user-centric dev, DDD, coding good practices, testing.