Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
=begin pod :kind("Type") :subkind("class") :category("exception") | ||
=TITLE class X::Dynamic::NotFound | ||
=SUBTITLE 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. | ||
=for code :skip-test<Throws an exception> | ||
$*dynamic-not-found = 33; | ||
# OUTPUT: «Dynamic variable $*dynamic-not-found not found» | ||
=head1 Methods | ||
=head2 method name | ||
method name(--> Str:D) | ||
Returns the name of the variable that has not been found. | ||
=end pod |