class_docstr: An object used to inspect and set the result in a :ref:`hook wrapper
  <hookwrappers>`.
class_docstr_tok: ["An","object","used","to","inspect","and","set","the","result","in","a",":","ref",":","`","hook","wrapper","<","hookwrappers",">","`","."]
docstr: :meta private:
docstr_tok: [":","meta","private",":"]
code: def __init__(
      self,
      result: ResultType | None,
      exception: BaseException | None,
  ) -> None:
      """:meta private:"""
      self._result = result
      self._exception = exception
  
imports: from __future__ import annotations
  from types import TracebackType
  from typing import Callable
  from typing import cast
  from typing import final
  from typing import Generator
  from typing import Generic
  from typing import NoReturn
  from typing import Optional
  from typing import Tuple
  from typing import Type
  from typing import TypeVar
label_desc: Use image node_id 1 to create a new Result object from inherited base classes: Generic with example: obj = Result(result, exception)