UltraLite.NET User's Guide
Understanding UltraLite Development
You can use the standard .NET error-handling features to handle errors. Most methods throw SQLException errors. You can use SQLException.GetErrorCode() to retrieve the SQLCode value assigned to this error. SQLCode errors are negative numbers indicating the particular kind of error.
For more information, see the following enumeration in the API Reference, in the online books:
iAnywhere.UltraLite.StreamErrorID
After Synchronization, you can use the SyncResult object to obtain more detailed error information.
For more information, see the following properties and enumerations in the API Reference, in the online books:
ActiveSyncListener.AuthStatusCode Enumeration
SyncResult.StreamErrorID
SyncResult.StreamErrorCode
SyncResult.StreamErrorContext