txt: ## invalidqualifier.md
  class X::Method::InvalidQualifier
  
  Error due to calling a qualified method from an ineligible class
  
  ```raku
  class X::Method::InvalidQualifier is Exception { }
  ```
  
  Thrown when a method is call in the form `$invocant.TheClass::method` if `$invocant` does not conform to `TheClass`.
  
  For example
  
  ```raku
  1.Str::split(/a/);
  CATCH { default { put .^name, ': ', .Str } };
  # OUTPUT: «X::Method::InvalidQualifier: Cannot dispatch to method split on Str because it is not inherited or done by Int␤»
  ```
  
  # [Methods](#class_X::Method::InvalidQualifier "go to top of document")[§](#Methods "direct link")
  
  ## [method method](#class_X::Method::InvalidQualifier "go to top of document")[§](#method_method "direct link")
  
  ```raku
  method method(--> Str:D)
  ```
  
  Returns the name of the (unqualified) method.
  
  ## [method invocant](#class_X::Method::InvalidQualifier "go to top of document")[§](#method_invocant "direct link")
  
  Returns the invocant of the failed, qualified method call
  
  ## [method qualifier-type](#class_X::Method::InvalidQualifier "go to top of document")[§](#method_qualifier-type "direct link")
  
  Returns the type by which the method call was qualified.
  