An exception class hierarchy based on error.pm for config::scoped
use Config::Scoped::Error; Config::Scoped::Error::Parse->throw( -text => $parser_error, -file => $config_file, -line => $thisline, ); Config::Scoped::Error::IO->throw( -text => "can't open file: $!", -file => $config_file, -line => $thisline, ); Config::Scoped::Error::Validate::Macro->throw( -text => "macro redefinition: $macro_name", -file => $config_file, -line => $thisline, );
Config::Scoped::Error is a class hierarchy based on Error.pm. The following Exception class hierarchy is defined:
Config::Scoped::Error
Config::Scoped::Error::Parse
Config::Scoped::Error::Validate
Config::Scoped::Error::Validate::Macro
Config::Scoped::Error::Validate::Parameter
Config::Scoped::Error::Validate::Declaration
Config::Scoped::Error::Validate::Permissions
Config::Scoped::Error::IO
Config::Scoped, Error
Karl Gaissmaier <karl.gaissmaier at uni-ulm.de>
Copyright (c) 2004-2008 by Karl Gaissmaier
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.