Params::ValidationCompiler::Exceptions(3pm)

Params::ValidationCompiler::Exceptions3pm

Defines exceptions thrown by params::validationcompiler

Version

version 0.31

Overview

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

Source

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

Releases

6 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10–11
  3. 12–13
  4. Arch

Author

Dave Rolsky <[email protected]>

From perl-params-validationcompiler 0.31-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.