Pass the Error instead of the stack to setError()