=begin pod :kind("Type") :subkind("class") :category("exception")

=TITLE class X::Anon::Augment

=SUBTITLE Compilation error due to augmenting an anonymous package

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

Compile time error thrown when trying to augment an anonymous package.

For example

=for code :skip-test<compile time error>
use MONKEY-TYPING;
augment class { }

Dies with

=for code :lang<text>
Cannot augment anonymous class

=head1 Methods

=head2 method package-kind

    method package-kind returns Str:D

Returns the kind of package (module, class, grammar, ...) that the code
tried to augment.

=end pod
