Basic Examples (3)
Basic Examples
(3)
Throw and catch a generic :
ResourceFunction["CatchFailure"]["There was an error!",myFunc];Print["goodbye"]
Out[53]=
Failure
———
Throw and catch a using the specified message template and tag:
ResourceFunction["CatchFailure"][myFunc::argx,Pi,2.9];Print["goodbye"]
Out[43]=
Failure
———
Throw and catch :
ResourceFunction["CatchFailure"][];Print["goodbye"]
Out[34]=
$Failed
Possible Issues (1)
Possible Issues
(1)