Error due to calling a qualified method from an ineligible class
Thrown when a method is call in the form
$invocant.TheClass::method if <$invocant> does not conform to
1.Str::split(/a/);CATCH ;# OUTPUT: «X::Method::InvalidQualifier: Cannot dispatch to method split on Str because it is not inherited or done by Int␤»
method method(--> Str)
Returns the name of the (unqualified) method.
Returns the invocant of the failed, qualified method call
Returns the type by which the method call was qualified.