Versions Compared

Key

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

...

Use throwException(String errorMessage)

For details see: https://qadeveloper.pricefx.eu/pricefx-api/groovy/develop/net/pricefx/formulaengine/scripting/PublicGroovyAPI.html#throwException-java.lang.String-

A calculation logic can stop its execution and fail by throwing an exception, for example:

...