You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converting HTTPError to ValueError loses valuable information about the failure. If the HTTPError itself was allowed to be raised then callers could look at the status code and determine if they want to try the call again (in the case of a 5xx error) or stop trying (4xx error).
Or maybe it could raise new exceptions defined by the mlbgame library? Fatal or Retryable?
The text was updated successfully, but these errors were encountered:
Converting
HTTPError
toValueError
loses valuable information about the failure. If theHTTPError
itself was allowed to be raised then callers could look at the status code and determine if they want to try the call again (in the case of a 5xx error) or stop trying (4xx error).Or maybe it could raise new exceptions defined by the
mlbgame
library?Fatal
orRetryable
?The text was updated successfully, but these errors were encountered: