Error::...ameters(3)
π Error::...ameters(3) π
okay bestie, you found a manpage whose title got cropped to Error::...ameters(3) and honestly? that's giving mystery, that's giving withheld information π«£ the real name is Error::TypeTiny::WrongNumberOfParameters, and we're about to get into it.
β¨ NAME β¨
Error::TypeTiny::WrongNumberOfParameters β the exception you get when the count of your params is simply not giving what it was supposed to give π
πΈ STATUS πΈ
This module is covered by the Type-Tiny stability policy. no cap, it's official π
π¦ DESCRIPTION π¦
So here's the vibe: this thing gets thrown when a Type::Params compiled check gets called with the wrong number of parameters. wrong. number. of. parameters. the audacity π
It's also thrown by various parameterizable type constraints under similar circumstances β same energy, different location. For example, HashRef[Int] makes sense, but HashRef[Int, {}] does not. like bestie what is that second thing even doing there π
This package inherits from Error::TypeTiny; go read that one for most of the documentation. The major differences are listed below π
π Attributes
minimumβ the minimum expected number of parameters. the floor, the bare minimum, the at least πmaximumβ the maximum expected number of parameters. the ceiling, the do not exceed β¨gotβ the number of parameters actually passed to the compiled check. the receipts πtargetβ a short string describing what there was the wrong number of parameters for. the who in this whole crime scene π
π Methods
has_minimum,has_maximum,has_targetβ predicate methods. yes queen, they just tell you whether the thing exists π«
π BUGS π
Please report any bugs to <https://github.com/tobyink/p5-type-tiny/issues>. pls don't suffer in silence bestie, the issue tracker is right there π«Ά
π SEE ALSO π
Error::TypeTiny. that's the one. iykyk π
β AUTHOR β
Toby Inkster <tobyink@cpan.org>. an icon, a legend, and the moment π
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2013-2014, 2017-2025 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, free software stays free π
π§ DISCLAIMER OF WARRANTIES π§
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
fr fr, no promises were made. read that in all caps and take it seriously π
and that's the whole page, bestie π
this was perl v5.42.0, dated 2026-01-17, and it goes out as Error::...ameters(3) β short title, big personality πβ¨
π¦ where this page comes from
- fedora 44: perl-Type-Tiny 2.010001-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms