Lines Matching refs:Error
20 Error message:Cannot read property c of undefined <- 异常信息
31 JS Crash多为应用问题,开发者可通过崩溃文件中的 Error message 和 StackTrace 来定位问题。
35 JS Crash异常根据不同的异常场景,在 Reason 字段进行了分类,分为Error、TypeError、SyntaxError、RangeError等错误类型。
37 …- 自定义 Error 类:Error 是最基本的错误类型,其他的错误类型都继承自该类型。Error 对象主要有两个重要属性 message 和 name 分别表示错误信息和错误名称。程序运行过程…
50 …- URI Error —— URL错误:在调用 URI 相关的方法中 URL 无效时抛出的异常,主要包括 `encodeURI()`、`decodeURI()`、`encodeURICompon…
94 Reason:Error
95 Error name:Error
96 Error message:JSERROR
116 Reason:Error
117 Error name:Error
118 Error message:JSERROR
136 Reason:Error
137 Error name:Error
138 Error message:JSERROR
140 throw new Error("JSERROR");
160 Error name:ReferenceError
161 …Error message:Cannot find module 'com.xxx.xxx/entry/EntryAbility' , which is application Entry Poi…
198 本章节将基于现在开发者所遇到的高频的两类JS Crash故障进行案例介绍,包含 TypeError 和 Error 类。
205 Error name:TypeError
206 Error message:Cannot read property xxx of undefined
227 Error name:TypeError
228 Error message:Cannot read property needRenderTranslate of undefined
239 … 通过日志信息可以确定为Type Error类问题,由异常信息得知是在读取needRenderTranslate对象时报错,该对象为undefined。最后可以通过异常代码调用栈,获取错误产生位置。
278 ### Error 类案例分析
280 Error 类问题一般是开发者或JS库主动抛出来的JS异常。
292 throw new Error("TEST JS ERROR")
305 Error name:Error
306 Error message:BussinessError 2501000: Operation failed.
307 Error code:2501000
318 通过日志信息可以确定为 Error 类问题,为代码主动抛出的异常。最后可以通过异常代码调用栈,获取错误产生位置。