Test::A...ception(3)

πŸ“¦
version 0.11 Β· 2 versions
, in fedora 43

πŸ’– 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 Moose BUILDARGS method, 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 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