API Reference > OdDb Classes > OdDbHostAppServices Class > OdDbHostAppServices Methods > OdDbHostAppServices::getErrorDescription Method
OdDbHostAppServices::getErrorDescription Method
Syntax
C++
virtual OdString getErrorDescription(unsigned int errorCode);
Parameters 
Description 
unsigned int errorCode 
[in] Error code. 

Returns the error description associated with the specified error code.

The default implementation of this function returns formatMessage(errorCode).

Copyright © 2002–2020. Open Design Alliance. All rights reserved.