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 and its data field refers to an mmsync_error_t structure. This second structure contains the error type, synchronization operation ID, and other information such as the ID of folder where the error occurred.