Skip to content

Fix resolve problem details with string message #7

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nettnikl
Copy link

Fix "interface conversion: string is not error: missing method Error" in cases like echo.NewHTTPError(http.StatusUnauthorized), where there is not an error in the interface field "message"

nettnikl added 2 commits May 23, 2025 10:50
Fix "interface conversion: string is not error: missing method Error" in cases like echo.NewHTTPError(http.StatusUnauthorized), where there is not an error in the interface field "message"
@meysamhadeli
Copy link
Owner

@nettnikl
Hi, Thanks for your PR.
Please add a test for this scenario here.

Thanks :)

@nettnikl
Copy link
Author

nettnikl commented Jun 1, 2025

@meysamhadeli Sorry for the delay - test case pushed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants