feat: Add retry_if_exception_cause_type (#362)

Add a new retry_base class called `retry_if_exception_cause_type` that
checks that the cause of the raised exception is of a certain type.

Co-authored-by: Guillaume RISBOURG <guillaume.risbourg@mergify.com>
4 files changed