Skip to content

feat(TF-57): [provider] add sentinel API errors for HTTP statuses#42

Open
SergeyKrasnovv wants to merge 1 commit intomainfrom
feat/TF-57-sentinel-errors-for-http-statuses
Open

feat(TF-57): [provider] add sentinel API errors for HTTP statuses#42
SergeyKrasnovv wants to merge 1 commit intomainfrom
feat/TF-57-sentinel-errors-for-http-statuses

Conversation

@SergeyKrasnovv
Copy link
Copy Markdown
Collaborator

  • add sentinel errors for standard HTTP statuses
  • introduce APIError with errors.Is() and errors.As() support
  • map provider HTTP responses to sentinel errors
  • add tests for APIError unmarshalling and provider error handling
  • keep ErrorResponse as an alias for backward compatibility

@SergeyKrasnovv SergeyKrasnovv requested a review from smnv-as March 25, 2026 11:39
@SergeyKrasnovv SergeyKrasnovv self-assigned this Mar 25, 2026
@github-actions
Copy link
Copy Markdown

✅ Snapshot build is ready!
Download artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants