(#2238) - document replication error listener, add examples