Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Error::TypeTiny::Compilation - exception for Eval::TypeTiny

Author

       Toby Inkster <tobyink@cpan.org>.

Bugs

       Please report any bugs to <https://github.com/tobyink/p5-type-tiny/issues>.

Description

       Thrown when compiling a closure fails. Common causes are problems with inlined type constraints, and
       syntax errors when coercions are given as strings of Perl code.

       This package inherits from Error::TypeTiny; see that for most documentation. Major differences are listed
       below:

   Attributes
       "code"
           The Perl source code being compiled.

       "environment"
           Hashref of variables being closed over.

       "errstr"
           Error message from Perl compiler.

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.

perl v5.40.1                                       2025-05-06                  Error::TypeTiny::Compilation(3pm)

Name

       Error::TypeTiny::Compilation - exception for Eval::TypeTiny

See Also

       Error::TypeTiny.

Status

       This module is covered by the Type-Tiny stability policy.

See Also