Skip to content

Add custom error behavior for lb.Retry #341

@kfir-stratoscale

Description

@kfir-stratoscale

Currently there is no way to add custom error behavior in the Retry module.
For example we might want to stop after a single retry if the error that we got from the underlying http transport is NotFound error.

Allowing the user to provide a callback that will be used to check the errors can solve this in a clean way.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions