Error handler should be available to all environments