docs: def spiceErrorCheck(f):
      """
      Decorator for spiceypy hooking into spice error system.
      If an error is detected, an output similar to outmsg
  
      :type f: builtins.function
      :return:
      :rtype:
      """
  
      @functools.wraps(f)
      def with_errcheck(*args, **kwargs):
          try:
              res = f(*args, **kwargs)
              checkForSpiceError(f)
              return res
          except:
              raise
  
      return with_errcheck