API Reference > Namespaces > TB_COLLADAIMPORT Namespace > Classes > DocumentImporter Class > DocumentImporter Methods > DocumentImporter::cancel Method
DocumentImporter::cancel Method
Syntax
C++
virtual void cancel(const COLLADAFW::String& errorMessage);
Parameters 
Description 
const COLLADAFW::String& errorMessage 
[out] Output message containing information about the error that occurred. 

This method is called if an error in the loading process occurred and the loader cannot continue to load. The writer should undo all operations that have been performed.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.