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

=TITLE class X::Package::Stubbed

=SUBTITLE Compilation error due to a stubbed package that is never defined

    class X::Package::Stubbed does X::Comp { }

Thrown at C<CHECK> time when there are packages stubbed but not later defined.

For example

=for code :skip-test<compile time error>
class A { ... }     # literal ...
class B { ... }     # literal ...

dies with

=for code :lang<text>
===SORRY!===
The following packages were stubbed but not defined:
    A
    B

=head1 Methods

=head2 method packages

    method packages(--> Positional:D)

Returns a list of packages that were stubbed but not defined.

=end pod
