Add error information to expected error cases