Annotate exceptions with status information.