Residual-current circuit breaker with overcurrent protection