Document live replication stopping on error

Adding explanation and example code showing how to handle the error