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 __init__(
      self,
      option_name: str,
      message: t.Optional[str] = None,
      possibilities: t.Optional[t.Sequence[str]] = None,
      ctx: t.Optional["Context"] = None,
  ) -> None:
      if message is None:
          message = _("No such option: {name}").format(name=option_name)
  
      super().__init__(message, ctx)
      self.option_name = option_name
      self.possibilities = possibilities
  
imports: import typing
  from gettext import gettext
  from gettext import ngettext
  from ._compat import get_text_stderr
  from .utils import echo
  from .utils import format_filename
label_desc: Use image node_id 1 to create a new NoSuchOption object from inherited base classes: UsageError with example: obj = NoSuchOption(option_name, message, possibilities, ctx)