Catching rate limit exceptions

Hi,

Every time a user exceeds the rate limit, my log file shows a “yii\web\TooManyRequestsHttpException” error. Where can I catch this so it doesn’t show up? I don’t want to disable error logging because I want to log other exception errors.

Thank you.