Published in


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…




Everything connected with Tech & Code. Follow to join our 900K+ monthly readers

Recommended from Medium

Setting Up an Apache Server on a Raspberry Pi

Why you should learn algorithms even as a non-programmer

Generating QR Codes With Python

Create a Python Node in Pi

Class Solver case study — Tech and Software | Our Very Own

Cloud Computing with AWS

The Possibilities with Multilingual Dashboards in Tableau CRM

SSH Tunneling / Port Forwarding / Pivoting /Socks proxy and some SSH Control Sequences

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

More from Medium

How Does Sequence Diagram Help in Software Development?

It’s a design pattern called: The Singleton

CQRS & Event Sourcing III: the framework

What Is A Software Domain Model?