API Reference > Functions > OdErrorByCodeAndMessage Function
OdErrorByCodeAndMessage Function
Syntax
C++
FIRSTDLL_EXPORT OdError OdErrorByCodeAndMessage(OdResult iResCode, const char * iMessage);

Error_WithMessage.h

creates error with specified code and custom message

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