Remove setError for exceptions