OpenDSS Shared library - DirectDLLError Interface ErrorCode (Int) Interface This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows: int32_t ErrorCode(void ); This interface returns an integer with latest error code delivered by OpenDSS.