SetProcessErrorMode( process, error_mode )

Sets the action RCBasic will take if an error occurs on an operation of the process.

ERROR_MODES
  * ON_ERROR_CONTINUE - Ignores an error during an operation and continues   * ON_ERROR_STOP - Stops the process on an error until ProcessContinue() is called

Example: