Zonema...ception(3pm)
π Zonemaster::Engine::Exception β the manual page, but make it cute π
okay so bestie, welcome to Zonemaster::Engine::Exception(3pm) π
β this is User Contributed Perl Documentation, section 3pm, and it's the base class for Zonemaster::Engine exceptions. like, the origin story. the blueprint. the mother of all the little exception girls that come after her. π
β¨ NAME β¨
Zonemaster::Engine::Exception β bestie it is literally the base class for Zonemaster::Engine exceptions. everything else in that family inherits her vibe. periodt. π
πΈ SYNOPSIS πΈ
the way you deploy her?? one line. one iconic line:
die Zonemaster::Engine::Exception->new({ message => "This is an exception" });
like. die, ->new, a hashref with a message, and boom β you have thrown an exception with main character energy. that's it. that's the whole move. π
π¦ ATTRIBUTES π¦
messageβ a string attribute holding a message for possible human consumption. π¬ basically it's the little note she carries around so an actual human can read it and go "oh. that's why everything broke." ngl very considerate of her. possible is doing a lot of heavy lifting there, so don't assume it's always for your eyes, iykyk. π
β METHODS β
string()β method that stringifies the object by returning themessageattribute. and listen: stringification is overloaded to this. so when you just casually drop the object into a string context, she doesn't give you some cursedZonemaster::Engine::Exception=HASH(0x...)nonsense β she gives you hermessage, because she knows what you actually wanted. she ate. π«Ά
fr fr, that overload is the whole point β printed exception == the message you handed her. no cap. π―
and that's the page, bestie!! go forth and die responsibly π π
β¨ this page is documented in perl v5.40.1, last dated 2026-03-21 β¨ β ty for coming to my ted talk, mwah πππ¦
π¦ where this page comes from
- ubuntu stonking: libzonemaster-perl 8.001.001-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms