class X::Dynamic::NotFound

Runtime error thrown when a dynamic variable does not exist
class X::Dynamic::NotFound is Exception {}

This exception is raised when a dynamic variable that has not been declared is used.

$*dynamic-not-found = 33;
# OUTPUT: «Dynamic variable $*dynamic-not-found not found␤»

Methods

method name

method name(--> Str:D)

Returns the name of the variable that has not been found.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.