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
contextMenuCommandDenied.ts
and thought that would handle it but I don't get a response and the error is shown in the logs.