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'
method method() returns Str:D
Returns the method name that was invoked.
method typename returns Str:D
Returns the name of the invocant type.
method private returns Bool:D
Returns True for private methods, and False for public methods.