Add documentation for maxconsecutive_errors