1Params::ValidationCompiUlseerr::CEoxncterpitbiuotnesdP(a3Pr)earmls:D:oVcaulmiednattaitoinoCnompiler::Exceptions(3)
2
3
4
6 Params::ValidationCompiler::Exceptions - Defines exceptions thrown by
7 Params::ValidationCompiler
8
10 version 0.30
11
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
48 Bugs may be submitted at
49 <https://github.com/houseabsolute/Params-ValidationCompiler/issues>.
50
51 I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
52
54 The source code repository for Params-ValidationCompiler can be found
55 at <https://github.com/houseabsolute/Params-ValidationCompiler>.
56
58 Dave Rolsky <autarch@urth.org>
59
61 This software is Copyright (c) 2016 - 2018 by Dave Rolsky.
62
63 This is free software, licensed under:
64
65 The Artistic License 2.0 (GPL Compatible)
66
67 The full text of the license can be found in the LICENSE file included
68 with this distribution.
69
70
71
72perl v5.36.0 2022P-a0r7a-m2s2::ValidationCompiler::Exceptions(3)