nitc :: NeoModel :: do_batch
batch
Abort if batch.execute returns errors.
batch.execute
# Execute `batch` and check for errors. # # Abort if `batch.execute` returns errors. private fun do_batch(batch: NeoBatch) do var errors = batch.execute if not errors.is_empty then print errors exit(1) end end