API Reference > OdDAI Namespace > Classes > daiErrorHandlerManager Class > daiErrorHandlerManager Methods > daiErrorHandlerManager::addHandler Method
daiErrorHandlerManager::addHandler Method
Syntax
C++
static bool addHandler(const daiErrorHandlerPtr& handlerToAdd);
Parameters 
Description 
const daiErrorHandlerPtr& handlerToAdd 
[in] Smart pointer to an error handler to add. 

true if successfully pushed to a collection of error handlers, false otherwise.

Adds an error handler to the collection of error handlers. 

 

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