Zusor
Explore posts from serversCan't find devtools tool for generating TypeScript types
I could've sworn there used to be a way to auto-generate typescript types for an API endpoint from Nuxt devtools. I can't find it though. Is this a feature that you need a seperate module for, can i just not find it, or was it removed?
5 replies
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