Karl Gaissmaier > Config-Scoped-0.22 > Config::Scoped::Error::Validate::Declaration

Download:
Config-Scoped-0.22.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.22   Source  

NAME ^

Config:Scoped::Error - an exception class hierarchy based on Error.pm for Config::Scoped

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

SEE ALSO ^

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.

syntax highlighting: