Perl::...ameter(3pm)

πŸ’– Perl::Critic::Exception::Configuration::Option::Policy::ExtraParameter πŸ’–

okay so this is the Perl::...ameter(3pm) page from User Contributed Perl Documentation, and the actual main-character class is Perl::Critic::Exception::Configuration::Option::Policy::ExtraParameter. bestie, it’s giving β€œconfiguration tried to be extra and the policy said absolutely not” energy πŸ’…


🌸 NAME 🌸

Perl::Critic::Exception::Configuration::Option::Policy::ExtraParameter β€” the configuration referred to a non-existent parameter for a policy.


πŸ¦‹ DESCRIPTION πŸ¦‹

This class is literally a representation of the configuration attempting to specify a value for a parameter that a Perl::Critic::Policy doesn’t have, whether from a .perlcriticrc, another profile file, or command line. no cap, it’s the β€œyou tried to set a thing that does not exist” exception vibe 😭✨


πŸŽ€ INTERFACE SUPPORT πŸŽ€

This is considered to be a public class. Any changes to its interface will go through a deprecation cycle. so like, it’s public-public, and the maintainers are not gonna just randomly yank the interface without the whole deprecation ritual 🫢


✨ CLASS METHODS ✨

  • throw( policy => $policy, option_name => $option_name, source => $source ) β€” See throw in Exception::Class. πŸ’«
  • new( policy => $policy, option_name => $option_name, source => $source ) β€” See new in Exception::Class. πŸ¦‹

πŸ’… METHODS πŸ’…

  • full_message() β€” provide a standard message for values for non-existent parameters for policies. See full_message in Exception::Class. πŸŽ€

πŸ‘‘ AUTHOR πŸ‘‘

Elliot Shank <perl@galumph.com> 🌈


Copyright (c) 2007-2011 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. 🫢


bestie, that’s the whole page: sourced from perl v5.42.0, dated 2024-10-23, with the manual tag Perl::...ameter(3pm). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from