{
    "content": [
        {
            "type": "text",
            "text": "# Moose::Exception (perldoc)\n\n## NAME\n\nMoose::Exception - Superclass for Moose internal exceptions\n\n## DESCRIPTION\n\nThis class contains attributes which are common to all Moose internal exception classes.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **DESCRIPTION**\n- **WARNING WARNING WARNING**\n- **METHODS**\n- **SEE ALSO**\n- **AUTHORS**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Moose::Exception",
        "section": "",
        "mode": "perldoc",
        "summary": "Moose::Exception - Superclass for Moose internal exceptions",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "WARNING WARNING WARNING",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Moose::Exception - Superclass for Moose internal exceptions\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 2.2200\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class contains attributes which are common to all Moose internal exception classes.\n",
                "subsections": []
            },
            "WARNING WARNING WARNING": {
                "content": "If you're writing your own exception classes, you should instead prefer the Throwable role or\nthe Throwable::Error superclass - this is effectively a cut-down internal fork of the latter,\nand not designed for use in user code.\n\nOf course if you're writing metaclass traits, it would then make sense to subclass the relevant\nMoose exceptions - but only then.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "$exception->message\nThis attribute contains the exception message.\n\nEvery subclass of Moose::Exception is expected to override \"buildmessage\" method in order to\nconstruct this value.\n\n$exception->trace\nThis attribute contains the stack trace for the given exception. It returns a Devel::StackTrace\nobject.\n\n$exception->asstring\nThis method returns a stringified form of the exception, including a stack trace. By default,\nthis method skips Moose-internal stack frames until it sees a caller outside of the Moose core.\nIf the \"MOOSEFULLEXCEPTION\" environment variable is true, these frames are included.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "*   Moose::Manual::Exceptions\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "*   Stevan Little <stevan@cpan.org>\n\n*   Dave Rolsky <autarch@urth.org>\n\n*   Jesse Luehrs <doy@cpan.org>\n\n*   Shawn M Moore <sartak@cpan.org>\n\n*   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>\n\n*   Karen Etheridge <ether@cpan.org>\n\n*   Florian Ragwitz <rafl@debian.org>\n\n*   Hans Dieter Pearcey <hdp@cpan.org>\n\n*   Chris Prather <chris@prather.org>\n\n*   Matt S Trout <mstrout@cpan.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2006 by Infinity Interactive, Inc.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
                "subsections": []
            }
        }
    }
}