perl6/doc/lib/X/Method/NotFound

doc src
(title) X::Method::NotFound
    class X::Method::NotFound is Exception

 
Thrown when the user tries to call a method that isn't there. For example 1.nosuch dies with
    No such method 'nosuch' for invocant of type 'Int'

 

Methods

(head2) method
    method method() returns Str:D

 
Returns the method name that was invoked.
(head2) typename
    method typename returns Str:D

 
Returns the name of the invocant type.
(head2) private
    method private returns Bool:D

 
Returns True for private methods, and False for public methods.

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: