Skip to content
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

Add error messages to Forbidden and UnAuthorized results #185

Closed
Ahammdan opened this issue May 19, 2024 · 2 comments
Closed

Add error messages to Forbidden and UnAuthorized results #185

Ahammdan opened this issue May 19, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Ahammdan
Copy link
Contributor

For certain error states such as Forbidden and UnAuthorized, I found that I require to have some texts in the errors that would help in providing the end user with the reason of the error state. This behavior is similar to what was implemented with the conflict and NotFound error result.

I am willing to work on a PR for this if it's acceptable.

@ardalis
Copy link
Owner

ardalis commented May 21, 2024

Sure, that makes sense, as long as they're optional. Go for it, thanks.

@ardalis
Copy link
Owner

ardalis commented Jun 18, 2024

Fixed by #190

@ardalis ardalis closed this as completed Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants