Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Params::ValidationCompiler::Exceptions

Name Params::ValidationCompiler::Exceptions
Version 0.27
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/Params/ValidationCompiler/Exceptions.pm
Is Core No
Search CPAN for this module Params::ValidationCompiler::Exceptions
Documentation Params::ValidationCompiler::Exceptions
Module Details Params::ValidationCompiler::Exceptions


NAME

Params::ValidationCompiler::Exceptions - Defines exceptions thrown by Params::ValidationCompiler


VERSION

version 0.27


DESCRIPTION

This module defines the following exceptions:

Params::ValidationCompiler::Exception::BadArguments

Exception thrown when @_ does not contain a hash or hashref.

Params::ValidationCompiler::Exception::Named::Extra

Exception thrown when @_ contains unexpected extra named arguments.

Params::ValidationCompiler::Exception::Named::Required

Exception thrown when a required named parameter is not passed.

Params::ValidationCompiler::Exception::Positional::Extra

Exception thrown when @_ contains unexpected extra arguments.

Params::ValidationCompiler::Exception::Positional::Required

Exception thrown when a required positional parameter is not passed.

Params::ValidationCompiler::Exception::ValidationFailedForMooseTypeConstraint

Exception thrown when a Moose type constraint check fails. This class provides the following methods:

$e->parameter

This returns a string describing the parameter, something like The 'foo' parameter or Parameter #1.

$e->value

This is the value that failed the type constraint check.

$e->type

This is the type constraint object that did not accept the value.


SUPPORT

Bugs may be submitted at https://github.com/houseabsolute/Params-ValidationCompiler/issues.

I am also usually active on IRC as 'autarch' on irc://irc.perl.org.


SOURCE

The source code repository for Params-ValidationCompiler can be found at https://github.com/houseabsolute/Params-ValidationCompiler.


AUTHOR

Dave Rolsky <autarch@urth.org>


COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 - 2018 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024