AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ LoadErrorStatus()

long int drama::EntryInfo::LoadErrorStatus ( ) const
inline

Returns the system status code associated with a load error.

When a load operation fails or a task which had been loaded exits, the system status is returned. This function fetches this value. This function only give a sensible result sensible if Reason() has returned a reason of EntryCode::LoadFailed or EntryCode::Exit

In addition, this value may be hard to interpret is the load was on a remote machine, so DitsLoadErrorText may be more appropriate.

Returns
The load error status or zero.