lastErrorInfo—Last Error Information Supported in On-premises modeSupported in Lease modeSupported in Connected (Cloud LM) mode

Retrieves error and additional information for the last-performed operation (applicable for create, repair, and reset only). Useful for troubleshooting the persistence-related failures.

NOTE   The SNTL_PRS_QUERY_ERR_INFO_LATEST macro is used to perform the above-described operation for the lastErrorInfo query type. At compile time, it takes the latest query version from the header file used.

Query


<?xml version="1.0" encoding="UTF-8"?>
<persistenceQuery query="lastErrorInfo" version="1.0"/>

Scope

Not Applicable

Output

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<errorInfo>
	<error>
		<errorCode>510011</errorCode>
		<errorMessage>Create - Standalone - TimeTamper - Error writing into persistence file.</errorMessage>
	</error>
</errorInfo>
Element Description
errorCode The internal error code generated while performing the persistence creation, repair, or reset operations. For example, 510011.
errorMessage

The format of error message.

<API type> - <persistence device> - <persistence type> - <error description>


For example,

Create - Standalone - TimeTamper - Error writing into persistence file