docs: def reformat_exception(cls, message, err, *format_args, **format_kwds):
          """
          Reformats an exception by adding a message to it and reporting the
          original exception name and message
          """
          final_message = message.format(*format_args, **format_kwds)
          final_message = "{} -- {}: {}".format(
              final_message,
              type(err).__name__,
              str(err),
          )
          final_message = cls.sanitize_errstr(final_message)
          return final_message