{"id":7203,"date":"2022-12-20T19:35:49","date_gmt":"2022-12-20T22:35:49","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/paramsvalidationcompilerexceptions-man3\/"},"modified":"2022-12-20T19:35:49","modified_gmt":"2022-12-20T22:35:49","slug":"paramsvalidationcompilerexceptions-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/paramsvalidationcompilerexceptions-man3\/","title":{"rendered":"Params::ValidationCompiler::Exceptions (man3)"},"content":{"rendered":"<h1 align=\"center\">Params::ValidationCompiler::Exceptions<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#VERSION\">VERSION<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SUPPORT\">SUPPORT<\/a><br \/> <a href=\"#SOURCE\">SOURCE<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT AND LICENSE\">COPYRIGHT AND LICENSE<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Params::ValidationCompiler::Exceptions \u2212 Defines exceptions thrown by Params::ValidationCompiler<\/p>\n<h2>VERSION <a name=\"VERSION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">version 0.30<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This module defines the following exceptions:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Params::ValidationCompiler::Exception::BadArguments<\/b> <br \/> Exception thrown when @_ does not contain a hash or hashref.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Params::ValidationCompiler::Exception::Named::Extra<\/b> <br \/> Exception thrown when @_ contains unexpected extra named arguments.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Params::ValidationCompiler::Exception::Named::Required<\/b> <br \/> Exception thrown when a required named parameter is not passed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Params::ValidationCompiler::Exception::Positional::Extra<\/b> <br \/> Exception thrown when @_ contains unexpected extra arguments.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Params::ValidationCompiler::Exception::Positional::Required<\/b> <br \/> Exception thrown when a required positional parameter is not passed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Params::ValidationCompiler::Exception::ValidationFailedForMooseTypeConstraint<\/b> <br \/> Exception thrown when a Moose type constraint check fails. This class provides the following methods:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>$e\u2212>parameter<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This returns a string describing the parameter, something like &#8220;The &#8216;foo&#8217; parameter&#8221; or &#8220;Parameter #1&#8221;.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>$e\u2212>value<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This is the value that failed the type constraint check.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>$e\u2212>type<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This is the type constraint object that did not accept the value.<\/p>\n<h2>SUPPORT <a name=\"SUPPORT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Bugs may be submitted at <https:\/\/github.com\/houseabsolute\/Params\u2212ValidationCompiler\/issues>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">I am also usually active on <small>IRC<\/small> as \u2019autarch\u2019 on &#8220;irc:\/\/irc.perl.org&#8221;.<\/p>\n<h2>SOURCE <a name=\"SOURCE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The source code repository for Params-ValidationCompiler can be found at <https:\/\/github.com\/houseabsolute\/Params\u2212ValidationCompiler>.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Dave Rolsky <autarch@urth.org><\/p>\n<h2>COPYRIGHT AND LICENSE <a name=\"COPYRIGHT AND LICENSE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This software is Copyright (c) 2016 \u2212 2018 by Dave Rolsky.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This is free software, licensed under:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The Artistic License 2.0 (GPL Compatible)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The full text of the license can be found in the <i><small>LICENSE<\/small><\/i> file included with this distribution.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  Params::ValidationCompiler::Exceptions \u2212 Defines exceptions thrown by Params::ValidationCompiler <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3534],"class_list":["post-7203","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-paramsvalidationcompilerexceptions"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=7203"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7203\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=7203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=7203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=7203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}