For an orchestration, you can implement a Scope shape with one or more Catch Exception shapes along with it, and use a Send port to output the error message if the flow of the orchestration falls into one of the Catch Exception shapes.