Constructor

ErrorEvent

new ErrorEvent(detailedErrorCode, error)

Parameter

detailedErrorCode

Optional

cast.framework.events.DetailedErrorCode

Value must not be null.

error

Optional

Object

Value must not be null.

Properties

detailedErrorCode

constant

(non-null cast.framework.events.DetailedErrorCode or undefined)

An error code representing the cause of the error.

error

constant

(Error, Object, or undefined)

The error object. This could be an Error object (e.g., if an Error was thrown in an event handler) or an object with error information (e.g., if the receiver received an invalid command).