Params::ValidationCompiler::Exceptions - Defines exceptions thrown by Params::ValidationCompiler
version 0.20
This module defines the following exceptions:
Exception thrown when @_ does not contain a hash or hashref.
Exception thrown when @_ contains unexpected extra named arguments.
Exception thrown when a required named parameter is not passed.
Exception thrown when @_ contains unexpected extra arguments.
Exception thrown when a required positional parameter is not passed.
Exception thrown when a Moose type constraint check fails. This class provides the following methods:
This returns a string describing the parameter, something like The 'foo' parameter or Parameter #1.
The 'foo' parameter
Parameter #1
This is the value that failed the type constraint check.
This is the type constraint object that did not accept the value.
Bugs may be submitted through the RT bug tracker (or bug-params-validationcompiler@rt.cpan.org).
I am also usually active on IRC as 'autarch' on irc://irc.perl.org.
irc://irc.perl.org
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2016 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Params::ValidationCompiler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Params::ValidationCompiler
CPAN shell
perl -MCPAN -e shell install Params::ValidationCompiler
For more information on module installation, please visit the detailed CPAN module installation guide.