get_staterror ======================= .. currentmodule:: sherpa.ui .. autofunction:: get_staterror