class X::Syntax::Variable::Numeric does X::Syntax { }
Syntax error thrown when trying to declare numeric symbols.
For example
my @101;
dies with
===SORRY!===
Cannot declare a numeric variable
Methods
method what
method what returns Str:D
Returns a verbal description of the kind of symbol that was declared (variable,
parameter, attribute).
See Also
class Exception
Anomalous event capable of interrupting normal control-flow
class X::Bind
Error due to binding to something that is not a variable or container
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society.
All rights reserved.