It's kind of hard to say why a convergence error occurs. There can be multiple variables involved. But in the code, somewhere during calculation, some variable has gone to zero or infinity which is not possible according to the situation you created for the simulation or the equation settings.
It will be greater if you provide the code instead.