前端错误的分类:
代码错误:
-
try...catch...
-
window.onerror
资源缺失错误(不会冒泡, 不会被window.onerror捕获):
-
object.onerror
-
performance.getEntries()
-
Error事件捕获
本文共 129 字,大约阅读时间需要 1 分钟。
try...catch...
window.onerror
object.onerror
performance.getEntries()
Error事件捕获
转载地址:http://rhnbl.baihongyu.com/