class X::Dynamic::NotFound
ErrorsCollection

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.