Gets the the last error number or zero if there was no error.
GetLastErrorCode() as IntegerYou should not directly use this function. It is nowadays only to fulfill the interface which this class inherits.
To track errors it is far better to use try and catch mechanism.