class_docstr: Extension error.
class_docstr_tok: ["Extension","error","."]
code: def __init__(
      self,
      message: str,
      orig_exc: Exception | None = None,
      modname: str | None = None,
  ) -> None:
      super().__init__(message)
      self.message = message
      self.orig_exc = orig_exc
      self.modname = modname
  
imports: from __future__ import annotations
  from typing import Any
label_desc: Use image node_id 1 to create a new ExtensionError object from inherited base classes: SphinxError with example: obj = ExtensionError(message, orig_exc, modname)