1. A method of operating a switched mode power supply circuit, the method comprising: determining an error in a control signal for a switched mode power supply circuit; comparing the error to an error threshold value to provide a filtering selection; adapting filtering of the error based on the filtering selection to provide a selected filtering; and filtering the error using the selected filtering.