{
  "python": "3.12.14",
  "synthetic_source": "def wrap(mode):\n    try:\n        int(\"authored-not-a-number\")\n    except ValueError as original:\n        if mode == \"implicit\":\n            raise RuntimeError(\"authored-domain-error\")\n        if mode == \"explicit\":\n            raise RuntimeError(\"authored-domain-error\") from original\n        if mode == \"hidden\":\n            raise RuntimeError(\"authored-domain-error\") from None\n",
  "rows": [
    {
      "mode": "implicit",
      "type": "RuntimeError",
      "cause_type": null,
      "context_type": "ValueError",
      "suppress_context": false,
      "formatted": "Traceback (most recent call last):\n  File \"authored_exception_fixture.py\", line 3, in wrap\nValueError: invalid literal for int() with base 10: 'authored-not-a-number'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"authored_exception_fixture.py\", line 6, in wrap\nRuntimeError: authored-domain-error\n"
    },
    {
      "mode": "explicit",
      "type": "RuntimeError",
      "cause_type": "ValueError",
      "context_type": "ValueError",
      "suppress_context": true,
      "formatted": "Traceback (most recent call last):\n  File \"authored_exception_fixture.py\", line 3, in wrap\nValueError: invalid literal for int() with base 10: 'authored-not-a-number'\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File \"authored_exception_fixture.py\", line 8, in wrap\nRuntimeError: authored-domain-error\n"
    },
    {
      "mode": "hidden",
      "type": "RuntimeError",
      "cause_type": null,
      "context_type": "ValueError",
      "suppress_context": true,
      "formatted": "Traceback (most recent call last):\n  File \"authored_exception_fixture.py\", line 10, in wrap\nRuntimeError: authored-domain-error\n"
    }
  ],
  "from_none_does_not_erase_context_object": true,
  "private_file_or_network_accessed": false,
  "all_assertions_passed": true
}
