Better error management (centralized)