OS Manuals

Params::ValidationCompiler::Exceptions(3pm)

Params::ValidationCompiler::Exceptions(3) User Contributed Perl Documentation Params::ValidationCompiler::Exceptions(3)

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:

$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.

2026-10-24 perl v5.44.0

perl-params-validationcompiler 0.31-r11 · os · ingested 2026-10-25