txt: ## initialization.md
  class X::Role::Initialization
  
  Error due to passing an initialization value to an ineligible role
  
  ```raku
  class X::Role::Initialization is Exception { }
  ```
  
  Thrown when the `SomeRole($init)` syntax is used, but SomeRole does not have exactly one public attribute.
  
  For example:
  
  ```raku
  role R { }; "D2" but R(2)
  CATCH { default { put .^name, ': ', .Str } }
  # OUTPUT: «X::Role::Initialization: Can only supply an initialization value for a role if it has a single public attribute, but this is not the case for 'R'␤»
  
  ```
  
  # [Methods](#class_X::Role::Initialization "go to top of document")[§](#Methods "direct link")
  
  ## [method role](#class_X::Role::Initialization "go to top of document")[§](#method_role "direct link")
  
  ```raku
  method role()
  ```
  
  Returns the role that caused the error.
  