class X::Eval::NoSuchLang is Exception { }

Error thrown when EVAL($str, :$lang) specifies a language that the compiler does not know how to handle.

For example

EVAL 'boo', lang => "bar";
CATCH { default { put .^name, ': ', .Str } };
# OUTPUT: «X::Eval::NoSuchLang: No compiler available for language 'bar'␤»

Methods§

method lang§

method lang()

Returns the language that EVAL did not know how to handle.