class_docstr: Represents an error condition when fitting a distribution to data.
class_docstr_tok: ["Represents","an","error","condition","when","fitting","a","distribution","to","data","."]
code: def __init__(self, msg=None):
      if msg is None:
          msg = "An error occurred when fitting a distribution to data."
      self.args = (msg,)
  
file_path: scipy/scipy/stats/_warnings_errors.py
label_desc: Use image node_id 1 to create a new FitError object from inherited base classes: RuntimeError with example: obj = FitError(msg)