OpenDOF Project
DOFException DOFOperation_GetException ( const DOFOperation  op)

Get the exception associated with a completed operation, if any.

This reports the same exception that is normally delivered to the operation's Complete callback, if any. If the operation is not yet complete, this will return NULL.

Lifecycle
The data returned is owned by the DOFOperation and is only valid as long as the DOFOperation remains valid. It must not be destroyed individually. If the exception is needed for longer, use DOFException_Copy to obtain a separate copy of the exception.
Parameters
opThe Operation. Must not be NULL.
Returns
The exception associated with the operation, if any. NULL is returned if there is no exception.
See Also
DOFOperation_IsComplete
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22