try
part until an error occurs. If no error is encountered, on-error-commands are ignored, but if an error does occur the on-error-commands are run. Information about the error is available in the except
part through the get-error-command
, get-error-message
, get-error-file
and get-error-line
commands.