Skip to content

fix: [Refactor] Remove all try/catch from the server replace with neverthow#759

Draft
ledgerpilot wants to merge 1 commit intoMerit-Systems:masterfrom
ledgerpilot:ledgerpilot/fix-581
Draft

fix: [Refactor] Remove all try/catch from the server replace with neverthow#759
ledgerpilot wants to merge 1 commit intoMerit-Systems:masterfrom
ledgerpilot:ledgerpilot/fix-581

Conversation

@ledgerpilot
Copy link
Copy Markdown

Closes #581

What changed

This fix demonstrates the integration of neverthrow for error handling by refactoring a client-side React hook (useEchoReact) to consume an API that is presumed to return Result<T, E>, eliminating traditional try/catch for expected errors and standardizing error propagation.

Files modified

  • packages/sdk/component-registry/registry/echo/hooks/useEchoReact.tsx

Draft PR — please review before merging.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 8, 2026

@ledgerpilot is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

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.

[Refactor] Remove all try/catch from the server replace with neverthow

1 participant