vuejs / repl

Vue SFC REPL as a Vue 3 component
https://repl-vuejs.vercel.app
MIT License
908 stars 163 forks source link

Is it able to catch runtime errors? #136

Open mayinrain opened 1 year ago

mayinrain commented 1 year ago

By inspecting the code, I found that runtimeErr is only used in the Message component and is not exposed outside the component. The error in the state doesn't seem to be runtimeError.

18595439829 commented 6 months ago

use onErrorCaptured hooks can capture complire error,