def __init__(self, object_path: List[str], message: str, stub_object: MaybeMissing[nodes.Node], runtime_object: MaybeMissing[Any], *, stub_desc: Optional[str]=None, runtime_desc: Optional[str]=None) -> None:
    'Represents an error found by stubtest.\n\n        :param object_path: Location of the object with the error,\n            e.g. ``["module", "Class", "method"]``\n        :param message: Error message\n        :param stub_object: The mypy node representing the stub\n        :param runtime_object: Actual object obtained from the runtime\n        :param stub_desc: Specialised description for the stub object, should you wish\n        :param runtime_desc: Specialised description for the runtime object, should you wish\n\n        '
    self.object_desc = '.'.join(object_path)
    self.message = message
    self.stub_object = stub_object
    self.runtime_object = runtime_object
    self.stub_desc = (stub_desc or str(getattr(stub_object, 'type', stub_object)))
    self.runtime_desc = (runtime_desc or str(runtime_object))
Represents an error found by stubtest.

:param object_path: Location of the object with the error,
    e.g. ``["module", "Class", "method"]``
:param message: Error message
:param stub_object: The mypy node representing the stub
:param runtime_object: Actual object obtained from the runtime
:param stub_desc: Specialised description for the stub object, should you wish
:param runtime_desc: Specialised description for the runtime object, should you wish
def __init__(self, object_path: List[str], message: str, stub_object: MaybeMissing[nodes.Node], runtime_object: MaybeMissing[Any], *, stub_desc: Optional[str]=None, runtime_desc: Optional[str]=None) -> None:
    'Represents an error found by stubtest.\n\n        :param object_path: Location of the object with the error,\n            e.g. ``["module", "Class", "method"]``\n        :param message: Error message\n        :param stub_object: The mypy node representing the stub\n        :param runtime_object: Actual object obtained from the runtime\n        :param stub_desc: Specialised description for the stub object, should you wish\n        :param runtime_desc: Specialised description for the runtime object, should you wish\n\n        '
    self.object_desc = '.'.join(object_path)
    self.message = message
    self.stub_object = stub_object
    self.runtime_object = runtime_object
    self.stub_desc = (stub_desc or str(getattr(stub_object, 'type', stub_object)))
    self.runtime_desc = (runtime_desc or str(runtime_object))