Web SDK: Improve error handling and error display
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 21
- Merge medio
- 12 h 14 min
- PR fusionados (30 d)
- 41
Descripción
## Summary
Improve error handling across the web SDK to make debugging easier for developers.
### Tasks
- [ ] Add help to the worker serializer
- [ ] Replace panics with proper `Result` returns in model files (`note_filter`, `transaction_requests`)
- [ ] Expand hint coverage to more error variants (especially `InsufficientFunds`, `InvalidInputNotes`, prover errors)
- [ ] Use `{err}` (Display) instead of `{err:?}` (Debug) in places that use Debug format (e.g. `export.rs`)
- [ ] Better error display for MASM compilation errors
Guía de contribución
Línea de trabajo
Look at the worker serializer, model files like note_filter and transaction_requests, and export.rs. Replace panics with Result returns, improve error formatting from Debug to Display, and expand hint coverage for specific error variants. Check MASM compilation error display. Run existing tests to ensure changes don't break functionality.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust, typescript
- Área
- backend-api-design, devtools
- Tipo de issue
- Refactorización
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100