{
    "mode": "perldoc",
    "parameter": "Params::ValidationCompiler::Exceptions",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Params%3A%3AValidationCompiler%3A%3AExceptions/json",
    "generated": "2026-10-08T12:44:53Z",
    "sections": {
        "NAME": {
            "content": "Params::ValidationCompiler::Exceptions - Defines exceptions thrown by Params::ValidationCompiler\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 0.31\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module defines the following exceptions:\n",
            "subsections": [
                {
                    "name": "Params::ValidationCompiler::Exception::BadArguments",
                    "content": "Exception thrown when @ does not contain a hash or hashref.\n"
                },
                {
                    "name": "Params::ValidationCompiler::Exception::Named::Extra",
                    "content": "Exception thrown when @ contains unexpected extra named arguments.\n"
                },
                {
                    "name": "Params::ValidationCompiler::Exception::Named::Required",
                    "content": "Exception thrown when a required named parameter is not passed.\n"
                },
                {
                    "name": "Params::ValidationCompiler::Exception::Positional::Extra",
                    "content": "Exception thrown when @ contains unexpected extra arguments.\n"
                },
                {
                    "name": "Params::ValidationCompiler::Exception::Positional::Required",
                    "content": "Exception thrown when a required positional parameter is not passed.\n"
                },
                {
                    "name": "Params::ValidationCompiler::Exception::ValidationFailedForMooseTypeConstraint",
                    "content": "Exception thrown when a Moose type constraint check fails. This class provides the following\nmethods:\n\n$e->parameter\nThis returns a string describing the parameter, something like \"The 'foo' parameter\" or\n\"Parameter #1\".\n\n$e->value\nThis is the value that failed the type constraint check.\n\n$e->type\nThis is the type constraint object that did not accept the value.\n"
                }
            ]
        },
        "SUPPORT": {
            "content": "Bugs may be submitted at <https://github.com/houseabsolute/Params-ValidationCompiler/issues>.\n",
            "subsections": []
        },
        "SOURCE": {
            "content": "The source code repository for Params-ValidationCompiler can be found at\n<https://github.com/houseabsolute/Params-ValidationCompiler>.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Dave Rolsky <autarch@urth.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is Copyright (c) 2016 - 2023 by Dave Rolsky.\n\nThis is free software, licensed under:\n\nThe Artistic License 2.0 (GPL Compatible)\n\nThe full text of the license can be found in the LICENSE file included with this distribution.\n",
            "subsections": []
        }
    },
    "summary": "Params::ValidationCompiler::Exceptions - Defines exceptions thrown by Params::ValidationCompiler",
    "flags": [],
    "examples": [],
    "see_also": []
}