Event emitted when a turn fails.
@type t() :: %Codex.Events.TurnFailed{ error: map(), thread_id: String.t() | nil, turn_id: String.t() | nil }