Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Config::Model::ExceptiUser)Contributed Perl DocumenConfig::Model::Exception(3)

NAME
       Config::Model::Exception	- Exception mechanism for configuration	model

VERSION
       version 2.140

SYNOPSIS
	 use  Config::Model::Exception;

	 # later
	 my $kaboom = 1;
	 Config::Model::Exception::Model->throw(
	     error  => "Went kaboom",
	     object => $self
	 ) if $kaboom;

DESCRIPTION
       This module creates exception classes used by Config::Model.

       All exception class name	begins with "Config::Model::Exception"

       The exception classes are:

       "Config::Model::Exception"
	   Base	class. It accepts an "object" argument.	The user must pass the
	   reference of	the object where the exception occurred. The object
	   name	is used	to generate the	error message.

	 TODO: list all	exception classes and hierarchy.

How to get trace
       By default, most	of the exceptions do not print out the stack trace.
       For debug purpose, you can force	a stack	trace for all exception
       classes:

	 Config::Model::Exception->Trace(1) ;

AUTHOR
       Dominique Dumont, (ddumont at cpan dot org)

SEE ALSO
       Config::Model, Config::Model::Instance, Config::Model::Node,
       Config::Model::Value

AUTHOR
       Dominique Dumont

COPYRIGHT AND LICENSE
       This software is	Copyright (c) 2005-2020	by Dominique Dumont.

       This is free software, licensed under:

	 The GNU Lesser	General	Public License,	Version	2.1, February 1999

perl v5.32.0			  2020-08-28	   Config::Model::Exception(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | How to get trace | AUTHOR | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Config::Model::Exception&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help