The callback function that fires if the file fails to upload to the Document Service.
Default value is null. If a valid function is provided, this callback will be fired if the file fails to upload to the Document Service.
For an example, refer to Viewer.loadFromLocal.