retry_if_exception_cause_type is an useful retry_base class but the inverted variant is missing.
It would be nice to have a retry_base class that retries if the exception is anything other than the specified exception(s).
An alternative is to implement an __invert_ overload on retry_base but not sure how viable that is.
retry_if_exception_cause_typeis an usefulretry_baseclass but the inverted variant is missing.It would be nice to have a
retry_baseclass that retries if the exception is anything other than the specified exception(s).An alternative is to implement an
__invert_overload onretry_basebut not sure how viable that is.