onError

val onError: (error: Throwable) -> Unit

Called when there was an error detecting barcodes.