In Control flow§
See primary documentation in context for fail
Leaves the current routine and returns the provided Exception or Str
wrapped inside a Failure, after all relevant phasers are executed. If the caller activated fatal exceptions via the pragma use fatal;
, the exception is thrown instead of being returned as a Failure
.
sub f ;say f;CATCH# OUTPUT: «X::AdHoc: WELP!»