class_docstr: Base probability distribution.
code: def _method_error_msg(
      self, method="this method", severity="warn", fill_in=None
  ):
      msg = (
          f"{type(self)} does not have an implementation of the '{method}' method, "
          "via numerically exact implementation or fill-in approximation."
      )
      if fill_in is None:
          fill_in = "by an approximation via other methods"
      msg_approx = (
          f"{type(self)} does not have a numerically exact implementation of "
          f"the '{method}' method, it is "
          f"filled in {fill_in}."
      )
      if severity == "warn":
          return msg_approx
      else:
          return msg
  
imports: from warnings import warn
  import numpy
  import pandas
  from sktime.base import BaseObject
  from sktime.utils.pandas import df_map
  from sktime.utils.validation._dependencies import _check_estimator_deps
label_desc: Use image node_id 10 for calling the BaseDistribution obj's underlying member method code with example usage: obj._method_error_msg(method, severity, fill_in) and returns: msg_approx, msg