T M
class X::Phaser::Multiple
Error ReportCollection examples

Compilation error due to multiple phasers of the same type

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.