android-components / mozilla.components.service.sync.logins / IdCollisionException

IdCollisionException

typealias IdCollisionException = IdCollisionException (source)

This is thrown if add() is given a record whose id is not blank, and collides with a record already known to the storage instance.

You can avoid ever worrying about this error by always providing blank id property when inserting new records.