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.