def METHOD_NAME(status_code: int) -> type[HTTPError] | None:
    """Returns aiohttp error class corresponding to a 4XX or 5XX status code
    NOTICE that any non-error code (i.e. 2XX, 3XX and 4XX) will return None
    """
    return _STATUS_CODE_TO_HTTP_ERRORS.get(status_code)