Params:...eptions(3)
π¦ NAME π¦
okay bestie, welcome to the manual page for Params::ValidationCompiler::Exceptions(3) β a User Contributed Perl Documentation page, and its whole job is literally defining the exceptions thrown by Params::ValidationCompiler. periodt π
πΈ VERSION πΈ
version 0.31 β¨
π DESCRIPTION π
no cap, this module defines the following exceptions. they are all giving βyour arguments did not pass the vibe check,β and hereβs the exact lineup:
π«Ά Params::ValidationCompiler::Exception::BadArguments
Exception thrown when @_ does not contain a hash or hashref. not a hash, not a hashref, not invited to the function π
π«Ά Params::ValidationCompiler::Exception::Named::Extra
Exception thrown when @_ contains unexpected extra named arguments. bestie brought plus-ones to the named-arguments party and they were not on the list π
π«Ά Params::ValidationCompiler::Exception::Named::Required
Exception thrown when a required named parameter is not passed. the required named parameter did not show up, and the group chat is in shambles π
π«Ά Params::ValidationCompiler::Exception::Positional::Extra
Exception thrown when @_ contains unexpected extra arguments. extra positional arguments pulled up uninvited π¨
π«Ά Params::ValidationCompiler::Exception::Positional::Required
Exception thrown when a required positional parameter is not passed. the required positional parameter ghosted, and that is not slay π
π Params::ValidationCompiler::Exception::ValidationFailedForMooseTypeConstraint
Exception thrown when a Moose type constraint check fails. this class provides the following methods, and they are here to explain the academic weaponry of type-check rejection π
$e->parameterβ this returns a string describing the parameter, something like"The 'foo' parameter"or"Parameter #1".$e->valueβ this is the value that failed the type constraint check. yes, that exact little value. caught in 4K πΈ$e->typeβ this is the type constraint object that did not accept the value. iconic boundary-setting behavior, honestly β¨
π SUPPORT π
Bugs may be submitted at <https://github.com/houseabsolute/Params-ValidationCompiler/issues>. if something is acting sus, thatβs the place to report it π«Ά
π§ SOURCE π§
The source code repository for Params-ValidationCompiler can be found at <https://github.com/houseabsolute/Params-ValidationCompiler>. go look, bestie, the receipts are right there π₯
β AUTHOR β
Dave Rolsky <autarch@urth.org> β main character energy π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2016 - 2023 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
The full text of the license can be found in the LICENSE file included with this distribution. read it, bestie, itβs giving legal lore ππ
mwah π this page is from perl v5.42.0, dated 2023-02-14, and itβs the Params::ValidationCompiler::Exceptions(3) manpage. byeee πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Params-ValidationCompiler 0.31-160000.2.2 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms