[Block] catch: [otherBlock] | Manual

[Block] catch: [otherBlock]

Associates an error clause to a block. If an error (exception) occurs within the block this block will be executed. Example: #Raise error on division by zero. { var z := 4 / 0. } catch: { :errorMessage Pen write: e, brk. }, run.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.