1Error::TypeTiny::CompilUasteironC(o3n)tributed Perl DocuEmrernotra:t:iToynpeTiny::Compilation(3)
2
3
4
6 Error::TypeTiny::Compilation - exception for Eval::TypeTiny
7
9 This module is covered by the Type-Tiny stability policy.
10
12 Thrown when compiling a closure fails. Common causes are problems with
13 inlined type constraints, and syntax errors when coercions are given as
14 strings of Perl code.
15
16 This package inherits from Error::TypeTiny; see that for most
17 documentation. Major differences are listed below:
18
19 Attributes
20 "code"
21 The Perl source code being compiled.
22
23 "environment"
24 Hashref of variables being closed over.
25
26 "errstr"
27 Error message from Perl compiler.
28
30 Please report any bugs to
31 <https://github.com/tobyink/p5-type-tiny/issues>.
32
34 Error::TypeTiny.
35
37 Toby Inkster <tobyink@cpan.org>.
38
40 This software is copyright (c) 2013-2014, 2017-2023 by Toby Inkster.
41
42 This is free software; you can redistribute it and/or modify it under
43 the same terms as the Perl 5 programming language system itself.
44
46 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
47 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
48 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
49
50
51
52perl v5.36.0 2023-04-24 Error::TypeTiny::Compilation(3)