Error information

The mm-sync API defines an enumeration for listing error types and a structure for holding error information.

For mm-sync events that indicate an error, the associated mmsync_event_t structure has its type field set to MMSYNC_EVENT_SYNC_ERROR, while its data field points to an mmsync_error_t structure. This latter structure contains the error type, synchronization operation ID, and other data such as the ID of the folder where the error occurred.