1Params::ValidationCompiUlseerr::CEoxncterpitbiuotnesdP(a3Pr)earmls:D:oVcaulmiednattaitoinoCnompiler::Exceptions(3)
2
3
4

NAME

6       Params::ValidationCompiler::Exceptions - Defines exceptions thrown by
7       Params::ValidationCompiler
8

VERSION

10       version 0.31
11

DESCRIPTION

13       This module defines the following exceptions:
14
15   Params::ValidationCompiler::Exception::BadArguments
16       Exception thrown when @_ does not contain a hash or hashref.
17
18   Params::ValidationCompiler::Exception::Named::Extra
19       Exception thrown when @_ contains unexpected extra named arguments.
20
21   Params::ValidationCompiler::Exception::Named::Required
22       Exception thrown when a required named parameter is not passed.
23
24   Params::ValidationCompiler::Exception::Positional::Extra
25       Exception thrown when @_ contains unexpected extra arguments.
26
27   Params::ValidationCompiler::Exception::Positional::Required
28       Exception thrown when a required positional parameter is not passed.
29
30   Params::ValidationCompiler::Exception::ValidationFailedForMooseTypeConstraint
31       Exception thrown when a Moose type constraint check fails. This class
32       provides the following methods:
33
34       $e->parameter
35
36       This returns a string describing the parameter, something like "The
37       'foo' parameter" or "Parameter #1".
38
39       $e->value
40
41       This is the value that failed the type constraint check.
42
43       $e->type
44
45       This is the type constraint object that did not accept the value.
46

SUPPORT

48       Bugs may be submitted at
49       <https://github.com/houseabsolute/Params-ValidationCompiler/issues>.
50

SOURCE

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

AUTHOR

56       Dave Rolsky <autarch@urth.org>
57
59       This software is Copyright (c) 2016 - 2023 by Dave Rolsky.
60
61       This is free software, licensed under:
62
63         The Artistic License 2.0 (GPL Compatible)
64
65       The full text of the license can be found in the LICENSE file included
66       with this distribution.
67
68
69
70perl v5.36.0                      2023P-a0r1a-m2s0::ValidationCompiler::Exceptions(3)
Impressum