Perl::...uration(3pm)
πΈ NAME πΈ
okay so bestie, this page is Perl::...uration(3pm) from the User Contributed Perl Documentation, and the class on main character duty is Perl::Critic::Exception::AggregateConfiguration β a collection of a set of problems found in the configuration and/or command-line options. π
iykyk.
π DESCRIPTION π
A set of configuration settings can have multiple problems. This is an object for collecting all the problems found so that the user can see them in one run. The way this object just gathers every problem so you get the whole receipts in one run is iconic β literally built for the βshow me everything at onceβ vibe. β¨
π«Ά INTERFACE SUPPORT π«Ά
This is considered to be a public class. Any changes to its interface will go through a deprecation cycle. no cap, thatβs the deal. π«Ά
π οΈ METHODS π οΈ
okay, method time bestie β hereβs the whole lineup:
add_exception( $exception )β accumulate the parameter with the rest of the exceptions. adding to the pile, slay. πadd_exceptions_from( $aggregate )β accumulate the exceptions from another instance of this class. yes, it can collect from its own kind. πexceptions()β returns a reference to an array of the collected exceptions. the receipts, as an array ref. πadd_exception_or_rethrow( $eval_error )β if the parameter is an instance ofPerl::Critic::Exception::ConfigurationorPerl::Critic::Exception::AggregateConfiguration, add it. Otherwise,"die"with the parameter, if it is a reference, or"confess"with it. If the parameter is false, simply returns. π«Άhas_exceptions()β answer whether any configuration problems have been found. vibe check for config problems. πfull_message()β concatenate the exception messages. See"full_message"inException::Class. all the messages, joined up. π₯
π AUTHOR π
Elliot Shank <perl@galumph.com> π
π COPYRIGHT π
Copyright (c) 2007-2023 Elliot Shank
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module. π
signing off with perl v5.42.0, dated 2024-10-23, from Perl::...uration(3pm) β periodt bestie π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Perl-Critic 1.156.0-bp160.1.1 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms