Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 801 Bytes

on-submission-error-handler.md

File metadata and controls

14 lines (9 loc) · 801 Bytes

zcash-android-wallet-sdk / pirate.android.sdk / Synchronizer / onSubmissionErrorHandler

onSubmissionErrorHandler

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

An error handler for exceptions while submitting transactions to lightwalletd. For instance, a transaction may get rejected because it would be a double-spend or the user might lose their cellphone signal.

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