Camelia

X::Method::NotFound

src
    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

method

    method method() returns Str:D

 
Returns the method name that was invoked.

typename

    method typename returns Str:D

 
Returns the name of the invocant type.

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: