Config::Scoped::Error(3pm)

Config::Scoped::Error3pm

An exception class hierarchy based on error.pm for config::scoped

Usage

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

Overview

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

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7–8
  3. 9–10
  4. 11
  5. 12
  6. 13

Author

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

From libconfig-scoped-perl 0.22-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.