錯誤的捕捉方式 即時運行錯誤的捕獲方式 try...catch window.onerror 資源加載錯誤 object.onerror performance.getEntries() Error事件捕獲