def METHOD_NAME(http_error: requests.exceptions.HTTPError):
    if http_error.response.status_code in [
        HTTPStatus.UNAUTHORIZED.value,
        HTTPStatus.FORBIDDEN.value,
    ]:
        raise IslandAPIAuthenticationError(http_error)
    if http_error.response.status_code == HTTPStatus.TOO_MANY_REQUESTS:
        raise IslandAPIRequestLimitExceededError(http_error)
    if 400 <= http_error.response.status_code < 500:
        raise IslandAPIRequestError(http_error)
    if 500 <= http_error.response.status_code < 600:
        raise IslandAPIRequestFailedError(http_error)
    raise IslandAPIError(http_error)