Is this page helpful?
The callback function that fires if the Viewer.loadFromLocal operation fails.
loadFailCallback: ;
Default value is null. If a valid function is provided, this callback fires if the Viewer.loadFromLocal operation fails. This function will be passed a ServiceError containing the error information.
Example For an example, refer to Viewer.loadFromLocal.