Skip to content

Add retry_if_exception_match #125

@PhML

Description

@PhML

As there is retry_if_exception_type, would it be possible to have retry_if_exception_match?
It would replace :

retry_if_exception(lambda e: re.match(pattern, str(e)))

by:

retry_if_exception_match(pattern)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions