Skip to content

Enhance AxmeAuthError messages for status codes 401 and 403#1

Open
vivan070707-ctrl wants to merge 3 commits intomainfrom
vivan070707-ctrl-patch-1
Open

Enhance AxmeAuthError messages for status codes 401 and 403#1
vivan070707-ctrl wants to merge 3 commits intomainfrom
vivan070707-ctrl-patch-1

Conversation

@vivan070707-ctrl
Copy link
Owner

Improve error messages for 401 and 403 auth failures

Improve error messages for 401 and 403 auth failures
Fix: prepend user-friendly hint while preserving server message for 401/403
Test: add 401 error message test to verify hint and server message
@vivan070707-ctrl
Copy link
Owner Author

Thanks for the feedback!

I’ve updated the implementation to prepend the user-friendly hint while preserving the original server message.

Also added a test case for the 401 scenario to ensure both the hint and server message are included in the exception.

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.

1 participant