When is it the case that the errorObj will be an object and not just a string?