new Cesium.RuntimeError(message)

Constructs an exception object that is thrown due to an error that can occur at runtime, e.g., 无法编译阴影等。 如果函数可能丢出此选项 除了,呼叫代码应该准备抓住它.

On the other hand, a DeveloperError indicates an exception due to a developer error, e.g., invalid argument, that usually indicates a bug in the calling code.
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.