Signed-off-by: -LAN- <laipz8200@outlook.com>tags/0.14.2
| STATUS_FORCELIST = [429, 500, 502, 503, 504] | STATUS_FORCELIST = [429, 500, 502, 503, 504] | ||||
| class MaxRetriesExceededError(Exception): | |||||
| class MaxRetriesExceededError(ValueError): | |||||
| """Raised when the maximum number of retries is exceeded.""" | """Raised when the maximum number of retries is exceeded.""" | ||||
| pass | pass |