construct Ditto Fallible
fun constructDittoFallible(dependencies: DittoDependencies, identity: DittoIdentity = OfflinePlayground(dependencies)): Ditto
Content copied to clipboard
Constructs a Ditto instance in a new way that prevents a crash if the rust core has a problem obtaining a lock on the persistence directory. Should an issue occur, this method instead throws a DittoError.