Skip to content

Commit 683e079

Browse files
committed
X::Eval::NoSuchLang
1 parent b84221e commit 683e079

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

lib/X/Eval/NoSuchLang.pod

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
=begin pod
2+
3+
=TITLE class X::Eval::NoSuchLang
4+
5+
class X::Eval::NoSuchLang is Exception { }
6+
7+
Error thrown when C<eval($str, :$lang)> specifies a language that the
8+
compiler does not know how to handle.
9+
10+
For example
11+
12+
eval 'boo', lang => bar;
13+
14+
dies with
15+
16+
No compiler available for language 'bar'
17+
18+
19+
=head1 Methods
20+
21+
=head2 lang
22+
23+
method lang()
24+
25+
Returns the language that L<&eval> did not know how to handle.
26+
27+
=end pod

0 commit comments

Comments
 (0)