Skip to content

Normalize errors across forges #20

@andrew

Description

@andrew

Wrap forge-specific API errors into a common error taxonomy. Callers should be able to check for auth errors, not-found, rate limiting, network errors, and internal server errors without knowing which forge they're using.

Something like errors.Is(err, forge.ErrNotFound) should work regardless of whether the underlying error came from GitHub, GitLab, or Gitea.

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