Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Extend custom error types for http-client #117

Open
kirahsapong opened this issue Dec 18, 2023 · 0 comments
Open

Extend custom error types for http-client #117

kirahsapong opened this issue Dec 18, 2023 · 0 comments
Assignees

Comments

@kirahsapong
Copy link
Contributor

PR #113 introduced a refactor to throw a custom RequestError or ResponseError to address Issue #111.

We should introduce more narrow custom error types to throw in case of failure for a smoother debugging DevEx. Here's a discussion on that.

Ex: discoverPFIs is one such place we can replace Errors with more narrow custom errors

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant