kosich / rxjs-autorun

Re-evaluate an expression whenever Observable in it emits
MIT License
34 stars 2 forks source link

Throwing primitive errors in expression emits another kind of error #25

Closed kosich closed 3 years ago

kosich commented 3 years ago
computed(() => { throw 42; });

Currently: Emits [TypeError: Cannot convert object to primitive value]

Expected: Should error with 42