class_docstr: The :exc:`AlreadyRegisteredError` exception is raised when a pattern
  factory is registered under a name already in use.
class_docstr_tok: ["The",":","exc",":","`","AlreadyRegisteredError","`","exception","is","raised","when","a","pattern","factory","is","registered","under","a","name","already","in","use","."]
docstr: *message* (:class:`str`) is the error message.
docstr_tok: ["*","message","*","(",":","class",":","`","str","`",")","is","the","error","message","."]
code: def message(self):
      """
      *message* (:class:`str`) is the error message.
      """
      return "{name!r} is already registered for pattern factory:{pattern_factory!r}.".format(
          name=self.name,
          pattern_factory=self.pattern_factory,
      )
  
imports: import os
  import os.path
  import posixpath
  import stat
  from .compat import Collection, Iterable, string_types, unicode
label_desc: Use image node_id 2 for calling the AlreadyRegisteredError obj's underlying member method code with example usage: obj.message() and returns: str