zcash-android-wallet-sdk / cash.z.wallet.sdk / Synchronizer / onCriticalErrorHandler

onCriticalErrorHandler

abstract var onCriticalErrorHandler: ((Throwable?) -> Boolean)?

Gets or sets a global error handler. This is a useful hook for handling unexpected critical errors.

Return
true when the error has been handled and the Synchronizer should attempt to continue. False when the error is unrecoverable and the Synchronizer should stop.