repl icon indicating copy to clipboard operation
repl copied to clipboard

Is it able to catch runtime errors?

Open mayinrain opened this issue 2 years ago • 1 comments

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.

mayinrain avatar Jul 14 '23 02:07 mayinrain

use onErrorCaptured hooks can capture complire error,

18595439829 avatar Mar 08 '24 08:03 18595439829