Error handling inside the `effectScope`
Vue version
3.3.1
Link to minimal reproduction
Steps to reproduce
Just open the reproduction. onErrorCaptured
can handle any commented error except one, uncommented.
What is expected?
Thrown error from watch
inside the useErroredWatch
composable inside effectScope
should have been handled by onErrorCaptured
.
What is actually happening?
Error not thrown but I see warning about unhandled error.
System Info
No response
Any additional comments?
No response
One more case:
Vue version
3.3.1
Link to minimal reproduction
Steps to reproduce
Just open the reproduction. onErrorCaptured
can handle error outside effectScope
, but not inside effectScope
What is expected?
Thrown error from watch
inside the useErroredWatch
composable inside effectScope
should have been handled by onErrorCaptured
.
What is actually happening?
Error was not handled by onErrorCaptured
.
System Info
No response
Any additional comments?
No response