Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve error handling in wasm bindings #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link

Improve error handling in wasm bindings to make errors more descriptive and clearly indicate which inputs caused functions to fail.

Changes:

  • Add WasmBindingError enum for structured error handling
  • Add input validation helpers
  • Improve error messages with context
  • Add test cases for error conditions

Testing:

  • Built WASM bindings with npm run build
  • Added new test cases in ts_tests/*.test.ts
  • Verified error messages are descriptive and helpful

Link to Devin run: https://app.devin.ai/sessions/0f67dd27227d42d5a3924bd3ce15bc7f

- Add WasmBindingError enum for structured error handling
- Add input validation helpers
- Improve error messages with context
- Add test cases for error conditions

Co-Authored-By: Yush G <[email protected]>
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Add "(aside)" to your comment to have me ignore 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.

0 participants