How to ignore Errors in Grafana Alertmanager?

I have configure an alarm that only fires if the alarm thresholds are meet but ignores the situation when Error is meet.
For example, it should fire when Normal → Pending → Firing but ignore when Firing → Error → Pending → Firing.
If I set “Alert state if execution error or timeout” to OK I avoid sending messages when Normal → Error → Normal but not in the previous situation.

I am using v10.2.2.