class X::Export::NameClash does X::Comp { }

Compile time error thrown when a symbol is exported twice.

For example

sub f() is export { };
{
    sub f() is export { }
}

dies with

===SORRY!===
A symbol '&f' has already been exported

Methods§

method symbol§

Returns the symbol that is exported twice.

Typegraph§

Type relations for X::Export::NameClash
raku-type-graph X::Export::NameClash X::Export::NameClash Exception Exception X::Export::NameClash->Exception Mu Mu Any Any Any->Mu Exception->Any

Expand chart above