class X::Phaser::Multiple does X::Comp { }

Thrown when multiple phasers of the same type occur in a block, but only one is allowed (for example CATCH or CONTROL).

For example

CATCH { }CATCH { }

dies with

===SORRY!===
Only one CATCH block is allowed

Methods§

method block§

Returns the name of the phaser that occurred more than once.

Typegraph§

Type relations for X::Phaser::Multiple
raku-type-graph X::Phaser::Multiple X::Phaser::Multiple Exception Exception X::Phaser::Multiple->Exception X::Comp X::Comp X::Phaser::Multiple->X::Comp Mu Mu Any Any Any->Mu Exception->Any X::Comp->Exception

Expand chart above