To easily implement error handling, it is recommended to use executable BPMN.

Instead of having complicated error handling in the flow, implement dedicated validation task(s). Check if fields are filled resp. correctly formatted etc. This prevents that, later in the process, you have to check values before using functions like concat, substring etc.
Do not misuse exceptions for validation checks but use constraints for validation instead.

Reaction on Errors

Use the Monitoring Service With UI for a dedicated reaction on errors.