Skip to content

fix: use errors.As instead of type assertion for ErrDestinationPublishAttempt#678

Open
alexluong wants to merge 1 commit intomainfrom
fix/errors-as-type-assertion
Open

fix: use errors.As instead of type assertion for ErrDestinationPublishAttempt#678
alexluong wants to merge 1 commit intomainfrom
fix/errors-as-type-assertion

Conversation

@alexluong
Copy link
Collaborator

Replace direct type assertions with errors.As in shouldScheduleRetry and shouldNackDeliveryError to properly handle wrapped errors. This makes the error handling consistent with other functions in the same file.

…hAttempt

Replace direct type assertions with errors.As in shouldScheduleRetry and
shouldNackDeliveryError to properly handle wrapped errors. This makes
the error handling consistent with other functions in the same file.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
outpost-docs Ready Ready Preview, Comment Feb 5, 2026 9:48am
outpost-website Ready Ready Preview, Comment Feb 5, 2026 9:48am

Request Review

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