Skip to content

feat: Improve error handling when fetching trust anchors#114

Open
ale-adobe wants to merge 1 commit into
mainfrom
ale-adobe/trust-error-handling
Open

feat: Improve error handling when fetching trust anchors#114
ale-adobe wants to merge 1 commit into
mainfrom
ale-adobe/trust-error-handling

Conversation

@ale-adobe
Copy link
Copy Markdown
Collaborator

  • Includes the error message directly when throwing the Error object in resolveTrustSettings
  • Handle failed fetch calls when fetching a resource by wrapping the call in a try-catch block and reporting different error messages based on what actually happened. Network errors can be differentiated from actual errors coming from the fetch (e.g. 429, 404, etc.).

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 30, 2026

⚠️ No Changeset found

Latest commit: b9ebc70

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ale-adobe ale-adobe requested review from emensch and tmathern May 30, 2026 00:31
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.

1 participant