trait is hidden-from-backtrace
1 | class Routine |
1.1 | (Routine) trait is hidden-from-backtrace |
Documentation for trait is hidden-from-backtrace
assembled from the following types:
class Routine
From Routine
(Routine) trait is hidden-from-backtrace
multi sub trait_mod:<is>(Routine, :!)
Hides a routine from showing up in a default backtrace. For example
sub inner ;sub outer ;outer();
produces the error message and backtrace
OH NOEZin sub inner at bt.p6:1in sub outer at bt.p6:2in block <unit> at bt.p6:3
but if inner
is marked with hidden-from-backtrace
sub inner is hidden-from-backtrace ;sub outer ;outer();
the error backtrace does not show it:
OH NOEZin sub outer at bt.p6:2in block <unit> at bt.p6:3