Config...eption(3pm)
Config::Model::Exception π₯
okay bestie, welcome to the manual page for Config...eption(3pm) β yes that's the mangled-up name your terminal gives it because tldr it's Config::Model::Exception, the exception mechanism for configuration model π
VERSION β¨
version 2.166 β that's the one, no cap π
SYNOPSIS π¦
use Config::Model::Exception;
# later
my $kaboom = 1;
Config::Model::Exception::Model->throw(
error => "Went kaboom",
object => $self
) if $kaboom;
like. yes. it literally goes kaboom. iconic behavior fr π
DESCRIPTION πΈ
so this module creates exception classes that Config::Model uses. that's the whole vibe.
Every single exception class name starts with Config::Model::Exception. periodt. that's the naming convention and we respect it π
here are the exception classes, bestie:
"Config::Model::Exception"β this one is the base class π. it accepts an"object"argument, and like, you have to pass it the reference of the object where the exception happened. no object, no message. the object's name is then used to generate the error message. that's the deal π«Ά
TODO: list all exception classes and hierarchy. yeah bestie the docs said TODO, we're all just living in the mystery for now π
How to get trace πβ¨
okay so by default, most of the exceptions do NOT print out the stack trace. like. they're keeping it lowkey. π
but for debug purposes, you can force a stack trace for all exception classes at once:
Config::Model::Exception->Trace(1) ;
boom. now everything's talking. good luck and godspeed π§
AUTHOR π
Dominique Dumont, (ddumont at cpan dot org) π«Ά
SEE ALSO π
Config::Model, Config::Model::Instance, Config::Model::Node, Config::Model::Value β go read those next, bestie, they're all part of the same little family π
AUTHOR π
Dominique Dumont β yes again, they really said it twice and honestly? deserved π
COPYRIGHT AND LICENSE π
This software is Copyright (c) 2005-2022 by Dominique Dumont.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
and that's the whole page, bestie π
this was Config...eption(3pm) from the User Contributed Perl Documentation, churned out by perl v5.42.3 on 2026-07-23 π go forth and throw your exceptions responsibly, mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: libconfig-model-perl 2.166-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms