# `Codex.GuardrailError`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/guardrail_error.ex#L1)

Error raised when a guardrail rejects or trips during execution.

# `stage`

```elixir
@type stage() :: :input | :output | :tool_input | :tool_output
```

# `type`

```elixir
@type type() :: :tripwire | :reject
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
