TestCase::errorCallback

Receives the callback from JError and logs the required error information for the test.