Error counter can be parameterized