def METHOD_NAME():
    """Tests that all OCSP error codes have a corresponding Telemetry sub event type."""
    ec_dict = snowflake.connector.errorcode.__dict__
    for ec, ec_val in ec_dict.items():
        if not ec.startswith("__") and ec not in ("annotations",):
            if 254000 <= ec_val < 255000:
                assert ec_val in OCSPTelemetryData.ERROR_CODE_MAP