Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Throws an error if the current transaction is cancelled.

void myScript.ThrowIfCancelled()

Remarks

This method is useful when you want to check the current transaction is cancelled and abort the current operation.

Example

Code Block
languagejs
Script.ThrowIfCancelled();