Handles errors in HTTP responses.
Throws appropriate Errors based on HTTP status codes and response bodies.
Error
errors!HttpError
Handles errors in HTTP responses.