class X::Augment::NoSuchType does X::Comp { }

Thrown when trying to augment a type which doesn't exist.

For example

use MONKEY-TYPING;
augment class NoSuch { }

dies with

You tried to augment class NoSuchbut it does not exist

Methods§

method package-kind§

method package-kind(--> Str:D)

Returns the kind of package (class, grammar) that is being tried to augment

method package§

Returns the name that was tried to augment, but which doesn't exist.

Typegraph§

Type relations for X::Augment::NoSuchType
raku-type-graph X::Augment::NoSuchType X::Augment::NoSuchType Exception Exception X::Augment::NoSuchType->Exception X::Comp X::Comp X::Augment::NoSuchType->X::Comp Mu Mu Any Any Any->Mu Exception->Any X::Comp->Exception

Expand chart above