instrumentisto / medea

[Closed] Medea media server
Mozilla Public License 2.0
23 stars 3 forks source link

Draft: Refactor Rust to JS error propagation #214

Open evdokimovs opened 3 years ago

evdokimovs commented 3 years ago

Synopsis

PR which refactors error propagation from Rust to JS. Now, instead of propagating generic JasonError, we will propagate object representing exact error type.

Solution

  1. Get rid of JasonError
  2. Propagate exception of the exact type instead of JasonError

Checklist

evdokimovs commented 3 years ago

FCM

Refactor Rust to JS error propagation (#214)

- remove JasonError
- throw errors of the concrete types from WASM Jason