Companion

object Companion

Functions

Link copied to clipboard
fun constructDittoFallible(dependencies: DittoDependencies, identity: DittoIdentity = OfflinePlayground(dependencies), coreExceptionBridgingEnabled: Boolean = false): Ditto

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.

Link copied to clipboard

Experimental testing function to trigger a panic.