Pass exception error object into results

When trying to fix a failing test, it is extremely important to know the call stack of any occurring exceptions; just knowing the error message is usually not enough to pin point the problem, so it would be useful also have access to the exception itself.