1Perl::Critic::ExceptionU:s:eArgPgCerorenlgt:ar:tiCebrCuiottneifdci:gP:ueErrxalcteiDpootnci(uo3mnpe:mn:)tAagtgiroengateConfiguration(3pm)
2
3
4
6 Perl::Critic::Exception::AggregateConfiguration - A collection of a set
7 of problems found in the configuration and/or command-line options.
8
10 A set of configuration settings can have multiple problems. This is an
11 object for collecting all the problems found so that the user can see
12 them in one run.
13
15 This is considered to be a public class. Any changes to its interface
16 will go through a deprecation cycle.
17
19 add_exception( $exception )
20 Accumulate the parameter with rest of the exceptions.
21
22 add_exceptions_from( $aggregate )
23 Accumulate the exceptions from another instance of this class.
24
25 exceptions()
26 Returns a reference to an array of the collected exceptions.
27
28 add_exception_or_rethrow( $eval_error )
29 If the parameter is an instance of
30 Perl::Critic::Exception::Configuration or
31 Perl::Critic::Exception::AggregateConfiguration, add it.
32 Otherwise, "die" with the parameter, if it is a reference, or
33 "confess" with it. If the parameter is false, simply returns.
34
35 has_exceptions()
36 Answer whether any configuration problems have been found.
37
38 full_message()
39 Concatenate the exception messages. See "full_message" in
40 Exception::Class.
41
43 Elliot Shank <perl@galumph.com>
44
46 Copyright (c) 2007-2023 Elliot Shank
47
48 This program is free software; you can redistribute it and/or modify it
49 under the same terms as Perl itself. The full text of this license can
50 be found in the LICENSE file included with this module.
51
52
53
54perl v5.38.0 Perl::Cr2i0t2i3c-:0:9E-x2c5eption::AggregateConfiguration(3pm)