# `Mojentic.Examples.React.Events.FailureOccurred`
[🔗](https://github.com/svetzal/mojentic-ex/blob/v1.5.0/lib/mojentic/examples/react/events.ex#L92)

Event to signal a failure in the ReAct loop.

This event captures errors or unrecoverable situations that prevent
the agent from continuing to process the user's query.

# `t`

```elixir
@type t() :: %Mojentic.Examples.React.Events.FailureOccurred{
  context: Mojentic.Examples.React.Models.CurrentContext.t(),
  correlation_id: String.t() | nil,
  reason: String.t(),
  source: module()
}
```

---

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