The DomDocument class / xml.DomDocument methods |
Returns the error description at given position.
getErrorDescription( pos INTEGER ) RETURNING desc STRING
Returns the error description at given position. pos is the position of the error description (index starts at 1). Returns a string with an error description.
FOR i=1 TO doc.getErrorsCount() DISPLAY "[", i, "] ", doc.getErrorDescription(i) END FORDisplays all the errors encountered in the save, load or validate of doc DomDocument.
To display other errors, use the global variable STATUS to get the error code and err_get(status) or sqlca.sqlerrm to get the description of the error. See error code for more details.