Skip to content

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

Merged
WispHes merged 1 commit intomainfrom
feat/TF-57-sentinel-errors-for-http-statuses
Apr 8, 2026
Merged

feat(TF-57): [provider] add sentinel API errors for HTTP statuses#42
WispHes merged 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

Comment thread edgecenter/provider/provider.go Outdated
@SergeyKrasnovv SergeyKrasnovv force-pushed the feat/TF-57-sentinel-errors-for-http-statuses branch from a7aa26f to 420b286 Compare April 8, 2026 08:46
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

✅ Snapshot build is ready!
Download artifacts

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

✅ Snapshot build is ready!
Download artifacts

@WispHes WispHes merged commit 7d32059 into main Apr 8, 2026
3 checks passed
@WispHes WispHes deleted the feat/TF-57-sentinel-errors-for-http-statuses branch April 8, 2026 16:43
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.

3 participants