method exception
1 | class Failure |
1.1 | (Failure) method exception |
Documentation for method exception
assembled from the following types:
class Failure
From Failure
(Failure) method exception
Defined as:
method exception(Failure: --> Exception)
Returns the Exception object that the failure wraps.
sub failer() ;my = failer;my = .exception;put "$ex.^name(): $ex";# OUTPUT: «X::AdHoc: Failed»