You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to throw errors via ctx.throw like I do in my routes, in my socket functions. How can I pass an instance of ctx, or app into my socket functions to properly handle my errors in a similar way to those in my route functions?
The text was updated successfully, but these errors were encountered:
I'd like to throw errors via
ctx.throw
like I do in my routes, in my socket functions. How can I pass an instance of ctx, or app into my socket functions to properly handle my errors in a similar way to those in my route functions?The text was updated successfully, but these errors were encountered: