Exception stopping fitting.
You can raise this exception in your objective function to tell scipy.odr to stop fitting.
scipy.odr.OdrError
scipy.odr.odr_error