Perl::...ameter(3pm)

πŸ’… NAME πŸ’…

Okay bestie, welcome to Perl::...ameter(3pm) β€” from the User Contributed Perl Documentation β€” and it is giving extremely specific exception-class energy. ✨

Perl::Critic::Exception::Configuration::Option::Global::ExtraParameter is literally the exception for when the configuration referred to a non-existent global option. Like, the configuration tried to specify a value for an option that Perl::Critic doesn't have β€” whether that came from a .perlcriticrc, another profile file, or the command line. No cap. πŸ’–


πŸ›Ÿ INTERFACE SUPPORT πŸ›Ÿ

This is considered to be a public class. Any changes to its interface will go through a deprecation cycle. So yes, it's public, but don't expect wild breaking changes out of nowhere β€” there's a whole deprecation cycle. 🫢


🌟 CLASS METHODS 🌟

  • throw( option_name => $option_name, source => $source ) β€” See throw in Exception::Class. This is the throw-y one, bestie. πŸ’…
  • new( option_name => $option_name, source => $source ) β€” See new in Exception::Class. The constructor vibe. ✨

πŸ” METHODS πŸ”

  • full_message() β€” Provide a standard message for values for non-existent parameters for policies. See full_message in Exception::Class. It's giving helpful-message main character energy. πŸŽ€

πŸ‘‘ AUTHOR πŸ‘‘

Elliot Shank <perl@galumph.com> β€” iconic. 🌈


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. 🫢


Mwah πŸ’‹ β€” this page came from perl v5.42.0, dated 2024-10-23. Periodt. 🌸

πŸ“¦ where this page comes from