Deprecated.
NAME
Params::CheckCompiler::Exceptions - Defines exceptions thrown by Params::CheckCompiler
VERSION
version 0.08
DESCRIPTION
This module defines the following exceptions:
Params::CheckCompiler::Exception::BadArguments
Exception thrown when @_ does not contain a hash or hashref.
Params::CheckCompiler::Exception::Named::Extra
Exception thrown when @_ contains unexpected extra named arguments.
Params::CheckCompiler::Exception::Named::Required
Exception thrown when a required named parameter is not passed.
Params::CheckCompiler::Exception::Positional::Extra.
Exception thrown when @_ contains unexpected extra arguments.
Params::CheckCompiler::Exception::Positional::Required
Exception thrown when a required positional parameter is not passed.
Params::CheckCompiler::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 through the RT bug tracker (or bug-params-checkcompiler@rt.cpan.org).
I am also usually active on IRC as 'autarch' on irc://irc.perl.org
.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)