Configure Istio Circuit Breaker with Error codes 4XX(429 to be specific)

Hi , I am currently working on a use case where my service A is calling service B in istio service mesh.
On receive of 429 error code from service B, I want to reject all further requests from service A to B till some configured time(some sleep window). So though of exploring circuit breaker features given by istio.

I explored outlier detection and HTTPRetry option also But i found that in outlier Detection circuit trips/actions only with status code [502-504] given by istio to be configured in Destinationrule but those are not solving above problem.

Any help would be appreciated .