InterSystems FAQ rubric
To create a user-defined error you need to prepare the XML that describes the error code and corresponding message that you want to use as a user-defined error.
Please set the error code as a negative integer.
<?"1.0""UTF-8"
<<Once the XML file is created, load it into the namespace you want to use.
##classOnce loaded, you can retrieve and display user-defined errors with a command like the following:
USER>.png)


.png)
