At the moment if permissions checks are not satisfied, the default PermissionError("---") exception is raised. There are intances where we might need to provide a custom Strawberry type error that i can return to the client in a custom defined Union type.
Having some functionality to override permission_classes exception not to raise a PermissionError but return MyCustomErrorType seems like good functionality to have
Any suggestions on having this functionality in the future.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too