The solution of differential equation \(\left(x^2+1\right) \frac{d y}{d x}+\left(y^2+1\right)=0\) is \(\ldots\)