Error::TypeTiny::Compilation

exception for Eval::TypeTiny

Status

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

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.

Bugs

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny.

See Also

Error::TypeTiny.

Manual
The best place to start learning about this module is the manual.