RuntimeError

new Cesium.RuntimeError(message)

构造一个异常对象,该对象由于运行时可能发生的错误而引发,例如, 内存不足、无法编译着色器等。 如果函数可能会抛出 this exception,则调用代码应准备好捕获它。

另一方面,DeveloperError 表示异常到期 添加到开发者错误(例如,无效的参数)中,这通常表示 调用代码。
Name Type Description
message string optional 此异常的错误消息。
See:

Extends

  • Error

Members

readonly message : string

引发此异常的原因的说明。

readonly name : string

'RuntimeError' 指示由于运行时错误而引发此异常。

readonly stack : string

此异常的堆栈跟踪(如果可用)。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.