Test::A...ception(3)
π Test::Able::FatalException π
okay bestie so this is a page from the User Contributed Perl Documentation section of the manual, and it's literally about Test::Able::FatalException β the Fatal Exception Class. yes it's giving drama queen, that's the whole point, sit down, let's go π
β¨ NAME β¨
Test::Able::FatalException β the Fatal Exception Class π
π¦ SYNOPSIS π¦
Test::Able::FatalException->throw->( 'get me outta here - for real!' );
like. that's it. that's the whole vibe. throw it and LEAVE πββοΈπ¨
πΈ DESCRIPTION πΈ
okay so real talk: Test::Able has special exception handling for the test-related methods. it's got that smothering instinct, you know the one, the "nooo don't worry it's fine" energy π
this exception class is the way to break out of Test::Able's exception smothering. it's your emergency exit, your "actually no, we're doing this NOW" button, no cap π₯
if you want the details (and you do, bestie, you're a main character who reads the docs), go look at "on_method_exception" in Test::Able::Role::Meta::Class and "method_exceptions" in Test::Able::Role::Meta::Class. those two have the lore π
π ATTRIBUTES π
messageβ the text of the exception. like, what you're actually yelling. the receipts. the words. π£οΈ
π METHODS π
BUILDARGSβ the standard MooseBUILDARGSmethod, and its whole job here is letting you do single parameter construction. one arg, one exception, zero fuss β¨throwβ the main method, the star of the show, the moment we've all been waiting for. it constructs the exception object and throws it. build and yeet, all in one call π
β οΈ heads up bestie: this is the escape hatch for a reason. when Test::Able would normally be out here smothering your exceptions, this is the one that actually gets through. use it when you mean it π
π«Ά AUTHOR π«Ά
Justin DeVuyst, "justin@devuyst.com" β shoutout, icon behaviour, we love a credited author β
π COPYRIGHT AND LICENSE π
Copyright 2009 by Justin DeVuyst.
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. so like, go forth, remix, slay responsibly π
and that's the whole page, bestie! this one shipped with perl v5.42.0 and the page is dated 2025-07-25 β mwah, take care of her, she's an icon ππβ¨
π¦ where this page comes from
- fedora 43: perl-Test-Able 0.11-41.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms