No point in doing this error saving here, just have a mock attribute `errorThrown` and set it to true, then assert to see that it was called by the grader.