frameFailed

The event fired to indicate that a frame failed to load. A frame may fail to load if the request for its uri fails or processing fails due to invalid content.

If there are no event listeners, error messages will be logged to the console.

The error object passed to the listener contains two properties:

  • uri: the uri of the failed frame.

  • message: the error message.

pointCloud.frameFailed.addEventListener(function(error) {
console.log(`An error occurred loading frame: ${error.uri}`);
console.log(`Error: ${error.message}`);
});

See also