Error Handling - Xyna-Factory/xyna GitHub Wiki
Runtime errors occur during the execution of a Workflow, e.g. when they are thrown by a modeled Throw object. There are two possibilities to handle these errors during modeling:
- Catch: If the error occurs inside of a Service-based Process Step, it is handled there.
- Compensation: A Compensation will be executed to undo the Service's changes in case of an uncaught error occurred in a Process Step after it.
Errors inside of the XMOM structure, such as inconsistencies, are called structural Errors. Inconsistencies are for example caused by active dependencies to non-existing objects.