RosettaCodeData/Task/Exceptions/PARI-GP/exceptions-1.pari

6 lines
110 B
Plaintext

trap(/* specific error can be given here, or leave blank to catch all */,
"caught"
,
error("bad stuff")
)