GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Test2::Event::Bail(3) Perl Programmers Reference Guide Test2::Event::Bail(3)

Test2::Event::Bail - Bailout!

The bailout event is generated when things go horribly wrong and you need to halt all testing in the current file.

    use Test2::API qw/context/;
    use Test2::Event::Bail;
    my $ctx = context();
    my $event = $ctx->bail('Stuff is broken');

Inherits from Test2::Event. Also defines:

$reason = $e->reason
The reason for the bailout.

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>.

Copyright 2020 Chad Granum <exodist@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <https://dev.perl.org/licenses/>

2025-03-30 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.