fix(client): handle error responses with detailed messages #287
Reference in New Issue
Block a user
Delete Branch "fix/client-error-handling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds error handling for non-OK HTTP status codes in the client.
Implements custom error messages by reading the response body
when the status code indicates an error, ensuring better
debugging and clarity during failures.
Enhances unit tests to cover unauthorized access and incorrect
body length scenarios, validating the error handling mechanism.
added 2 commits
a6450faf- 1 commit from branchmain44c05fec- fix(client): handle error responses with detailed messagesCompare with previous version