you can use ERROR.TYPE function in Google Sheets and Libre Office Calc.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence