{
    "content": [
        {
            "type": "text",
            "text": "# Test2::Event::Exception (perldoc)\n\n**Summary:** Test2::Event::Exception - Exception event\n\n**Synopsis:** use Test2::API qw/context/;\nuse Test2::Event::Exception;\nmy $ctx = context();\nmy $event = $ctx->sendevent('Exception', error => 'Stuff is broken');\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **DESCRIPTION** (2 lines)\n- **SYNOPSIS** (6 lines)\n- **METHODS** (5 lines)\n- **CAVEATS** (2 lines)\n- **SOURCE** (2 lines)\n- **MAINTAINERS** (2 lines)\n- **AUTHORS** (2 lines)\n- **COPYRIGHT** (7 lines)\n\n## Full Content\n\n### NAME\n\nTest2::Event::Exception - Exception event\n\n### DESCRIPTION\n\nAn exception event will display to STDERR, and will prevent the overall test file from passing.\n\n### SYNOPSIS\n\nuse Test2::API qw/context/;\nuse Test2::Event::Exception;\n\nmy $ctx = context();\nmy $event = $ctx->sendevent('Exception', error => 'Stuff is broken');\n\n### METHODS\n\nInherits from Test2::Event. Also defines:\n\n$reason = $e->error\nThe reason for the exception.\n\n### CAVEATS\n\nBe aware that all exceptions are stringified during construction.\n\n### SOURCE\n\nThe source code repository for Test2 can be found at http://github.com/Test-More/test-more/.\n\n### MAINTAINERS\n\nChad Granum <exodist@cpan.org>\n\n### AUTHORS\n\nChad Granum <exodist@cpan.org>\n\n### COPYRIGHT\n\nCopyright 2020 Chad Granum <exodist@cpan.org>.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\nSee http://dev.perl.org/licenses/\n\n"
        }
    ],
    "structuredContent": {
        "command": "Test2::Event::Exception",
        "section": "",
        "mode": "perldoc",
        "summary": "Test2::Event::Exception - Exception event",
        "synopsis": "use Test2::API qw/context/;\nuse Test2::Event::Exception;\nmy $ctx = context();\nmy $event = $ctx->sendevent('Exception', error => 'Stuff is broken');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "CAVEATS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SOURCE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MAINTAINERS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}