Assembly Editor
Other Assembly Types
Error Handlers
2min
normally, when a module raises an error the assembly halts execution immediately and reports the module's error mesage error handler assemblies provide a mechanism where a separate assembly can be executed to perform post processing when a module error occurs a common usage for error handler assemblies is to convert a technical error message into a user friendly one error handler assemblies are created by using the error handler input and output modules this example error handler just translates test error messages to utilize the error handler, place the error handler assign module into an assembly and configure it with the uuid of the error handler assembly to obtain the error handler's uuid, right click on it in the catalog and choose the get uuid menu option when the assembly executes, the translated error message from the error handler assembly is returned rather than the original message returned by the module error handler assemblies can perform any needed post processing, including making api calls if the error handler output module does not return a value, the parent assembly that invoked the error handler will not report an error and continue its processing this provides a mechanism where the error handler assembly can decide whether the original error should be suppressed and allow the parent assembly to continue its processing