Zusor
Zusor
SIASapphire - Imagine a framework
Created by Zusor on 3/23/2023 in #sapphire-support
How to properly handle UserErrors?
I'm using the official sapphire template and want to throw a UserError inside a context menu command. How do I correctly handle the error and send a message to the user? I saw contextMenuCommandDenied.ts and thought that would handle it but I don't get a response and the error is shown in the logs.
4 replies