Error due to calling a method that isn't there
is Exception
Thrown when the user tries to call a method that isn't there.
For example
1.no-such
throws
No such method 'no-such' for invocant of type 'Int'
method method(--> Str)
Returns the method name that was invoked.
method typename(--> Str)
Returns the name of the invocant type.
method private(--> Bool)
Returns True
for private methods, and False
for public methods.
method addendum(--> Str)
Returns additional explanations or hints.
Note: addendum
was introduced in Rakudo 2019.03.