clarify error handler execution order