Trivial improvements on Error Reporting best practice