added error checker as template argument to controlled stepper type