{
    "mode": "perldoc",
    "parameter": "Test2::Event::Bail",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Test2%3A%3AEvent%3A%3ABail/json",
    "generated": "2026-06-09T22:08:01Z",
    "synopsis": "use Test2::API qw/context/;\nuse Test2::Event::Bail;\nmy $ctx = context();\nmy $event = $ctx->bail('Stuff is broken');",
    "sections": {
        "NAME": {
            "content": "Test2::Event::Bail - Bailout!\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The bailout event is generated when things go horribly wrong and you need to halt all testing in\nthe current file.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Test2::API qw/context/;\nuse Test2::Event::Bail;\n\nmy $ctx = context();\nmy $event = $ctx->bail('Stuff is broken');\n",
            "subsections": []
        },
        "METHODS": {
            "content": "Inherits from Test2::Event. Also defines:\n\n$reason = $e->reason\nThe reason for the bailout.\n",
            "subsections": []
        },
        "SOURCE": {
            "content": "The source code repository for Test2 can be found at http://github.com/Test-More/test-more/.\n",
            "subsections": []
        },
        "MAINTAINERS": {
            "content": "Chad Granum <exodist@cpan.org>\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Chad Granum <exodist@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 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",
            "subsections": []
        }
    },
    "summary": "Test2::Event::Bail - Bailout!",
    "flags": [],
    "examples": [],
    "see_also": []
}