Should it be necessary to separately call this if `setError` is called?