Initial commit
This commit is contained in:
13
docs/-synchronizer/on-processor-error-handler.md
Normal file
13
docs/-synchronizer/on-processor-error-handler.md
Normal file
@@ -0,0 +1,13 @@
|
||||
[zcash-android-wallet-sdk](../../index.md) / [cash.z.ecc.android.sdk](../index.md) / [Synchronizer](index.md) / [onProcessorErrorHandler](./on-processor-error-handler.md)
|
||||
|
||||
# onProcessorErrorHandler
|
||||
|
||||
`abstract var onProcessorErrorHandler: ((`[`Throwable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`?) -> `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)?`
|
||||
|
||||
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](stop.md).
|
||||
|
||||
Reference in New Issue
Block a user