code: def error(cls):
      info = dict(interface=cls.__name__)
      url = "http://holoviews.org/user_guide/%s_Datasets.html"
      if cls.multi:
          datatype = "a list of tabular"
          info["url"] = url % "Tabular"
      else:
          if cls.gridded:
              datatype = "gridded"
          else:
              datatype = "tabular"
          info["url"] = url % datatype.capitalize()
      info["datatype"] = datatype
      return (
          "{interface} expects {datatype} data, for more information "
          "on supported datatypes see {url}".format(**info)
      )
  
imports: import sys
  import warnings
  import numpy
  import param
  from ..None import util
  from ..element import Element
  from ..ndmapping import NdMapping
  from .util import finite_range
label_desc: Use image node_id 5 for calling the Interface obj's underlying member method code with example usage: obj.error(cls) and returns: str