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

onProcessorErrorHandler

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

An error handler for exceptions during processing. For instance, a block might be missing or a reorg may get mishandled or the database may get corrupted.

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