Skip to content

Handle rate limit errors by checking error type #204

@volodymyrZotov

Description

@volodymyrZotov

Currently we handle rate limit errors by checking error text

if strings.Contains(err.Error(), "rate limit") {

We need to do this in more elegant way. We need to create internal operator errors wrapper, so we can translate Connect and SDK errors into internal and then check the error type like errors.Is

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions