func (s *StopPolicy) ResetErrorCount() {
	s.SyncObject.Lock()
	defer s.SyncObject.Unlock()
	s.errorCount = 0
}
// ResetErrorCount resets the error count, typically on successful operation
ResetErrorCount resets the error count, typically on successful operation
// ResetErrorCount resets the error count typically on successful operation
func (s *StopPolicy) ResetErrorCount() {
	s.SyncObject.Lock()
	defer s.SyncObject.Unlock()
	s.errorCount = 0
}
func ( s * StopPolicy ) ResetErrorCount ( ) { s . SyncObject . Lock ( ) defer s . SyncObject . Unlock ( ) s . errorCount = 0 }
ResetErrorCount resets the error count, typically on successful operation
ResetErrorCount resets the error count typically on successful operation