SYNOPSIS

    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,
    );

DESCRIPTION

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

RELATED TO Config::Scoped::Error…

Config::Scoped, Error

AUTHOR

Karl Gaissmaier <karl.gaissmaier at uni-ulm.de>

COPYRIGHT AND LICENSE

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.