-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how custom fallback type #68
Comments
Hi!
This partly depends on the framework you are using. You can also use error catchers (at least for |
thanks. |
I think catchers on web-framework level is more suitable for global handling. However, I think we might introduce something like a custom error-generator(configurable as part of middleware) and use user's defined function in macro without explicit attribute 🤔 |
hi im new user for this framework
i want return cutom type if user no permission,
return json format not 403 only , how to do?
The text was updated successfully, but these errors were encountered: