# MentorSafetyCheckFailure enum

> The MentorSafetyCheckFailure enum of Novior.MentorAgent.Options: What a safety check does when it cannot reach a verdict — the classifier timed out…

- URL: https://docs.mentoragent.net/api/novior-mentoragent-options/mentorsafetycheckfailure
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent

What a safety check does when it cannot reach a verdict — the classifier timed out ([`MentorOptions.SafetyCheckTimeout`](https://docs.mentoragent.net/api/novior-mentoragent-options/mentoroptions#safetychecktimeout)), the provider returned an error, or a custom guardrail threw. Applies to the input check ([`MentorOptions.EnableSafetyCheck`](https://docs.mentoragent.net/api/novior-mentoragent-options/mentoroptions#enablesafetycheck), [`MentorOptions.InputGuardrail`](https://docs.mentoragent.net/api/novior-mentoragent-options/mentoroptions#inputguardrail)) and to the output check ([`MentorOptions.EnableOutputSafetyCheck`](https://docs.mentoragent.net/api/novior-mentoragent-options/mentoroptions#enableoutputsafetycheck), [`MentorOptions.OutputGuardrail`](https://docs.mentoragent.net/api/novior-mentoragent-options/mentoroptions#outputguardrail)).

A verdict of UNSAFE is not a failure: it blocks under both settings. Neither is a check the user cancelled with Stop — the turn simply ends.

## Definition

Namespace: `Novior.MentorAgent.Options`. Package: `Novior.MentorAgent`.

`public enum MentorSafetyCheckFailure`

```shell
dotnet add package Novior.MentorAgent
```

## Values

| Value | Number | Description |
|---|---|---|
| `Allow` | 0 | Fail open (default): the message is processed, the reply is shown, and a warning is logged. A classifier outage does not turn into an assistant that refuses everything. |
| `Block` | 1 | Fail closed: the message is refused ("the check is unavailable, try again"), or the reply is withheld, and a warning is logged. For deployments where an unchecked message is worse than no answer. Counted as a guardrail block on the dashboard. |

---

- Previous: [MentorRoutingStrategy enum](https://docs.mentoragent.net/api/novior-mentoragent-options/mentorroutingstrategy.md)
- Next: [MentorSessionContextPlacement enum](https://docs.mentoragent.net/api/novior-mentoragent-options/mentorsessioncontextplacement.md)
