API Reference > OdError Classes > OdErrorContext Class > OdErrorContext Methods > OdErrorContext::setPreviousError Method
OdErrorContext::setPreviousError Method
Syntax
C++
void setPreviousError(OdErrorContext* pPreviousError);
Parameters 
Description 
OdErrorContext* pPreviousError 
[in] Pointer to the previous ErrorContext object. 

Sets the ErrorContext object previous to this one in this ErrorContext stack.

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