There have been some really good, helpful posts on this already:
https://community.intersystems.com/post/robust-error-handling-and-clean…
https://community.intersystems.com/post/registering-new-error-code-and-…
https://community.intersystems.com/post/objectscript-error-handling-sni…
https://community.intersystems.com/post/can-you-have-custom-status-obje…
.jpg)

.png)



.png)


