class_docstr: Raised if click attempted to handle an option that does not
  exist.
  
  .. versionadded:: 4.0
class_docstr_tok: ["Raised","if","click","attempted","to","handle","an","option","that","does","not","exist",".","..","versionadded",":",":","4.0"]
code: def format_message(self):
      bits = [self.message]
      if self.possibilities:
          if len(self.possibilities) == 1:
              bits.append(
                  "Did you mean {}?".format(self.possibilities[0])
              )
          else:
              possibilities = sorted(self.possibilities)
              bits.append(
                  "(Possible options: {})".format(
                      ", ".join(possibilities)
                  )
              )
      return "  ".join(bits)
  
imports: from ._compat import filename_to_ui
  from ._compat import get_text_stderr
  from ._compat import PY2
  from .utils import echo
label_desc: Use image node_id 2 for calling the NoSuchOption obj's underlying member method code with example usage: obj.format_message() and returns: str