1Config::Model::ExceptioUns(e3r)Contributed Perl DocumentCaotnifoing::Model::Exception(3)
2
3
4

NAME

6       Config::Model::Exception - Exception mechanism for configuration model
7

VERSION

9       version 2.129
10

SYNOPSIS

12         use  Config::Model::Exception;
13
14         # later
15         my $kaboom = 1;
16         Config::Model::Exception::Model->throw(
17             error  => "Went kaboom",
18             object => $self
19         ) if $kaboom;
20

DESCRIPTION

22       This module creates exception classes used by Config::Model.
23
24       All exception class name begins with "Config::Model::Exception"
25
26       The exception classes are:
27
28       "Config::Model::Exception"
29           Base class. It accepts an "object" argument. The user must pass the
30           reference of the object where the exception occurred. The object
31           name is used to generate the error message.
32
33         TODO: list all exception classes and hierarchy.
34

How to get trace

36       By default, most of the exceptions do not print out the stack trace.
37       For debug purpose, you can force a stack trace for all exception
38       classes:
39
40         Config::Model::Exception->Trace(1) ;
41

AUTHOR

43       Dominique Dumont, (ddumont at cpan dot org)
44

SEE ALSO

46       Config::Model, Config::Model::Instance, Config::Model::Node,
47       Config::Model::Value
48

AUTHOR

50       Dominique Dumont
51
53       This software is Copyright (c) 2005-2018 by Dominique Dumont.
54
55       This is free software, licensed under:
56
57         The GNU Lesser General Public License, Version 2.1, February 1999
58
59
60
61perl v5.28.1                      2018-12-07       Config::Model::Exception(3)
Impressum