| 243 | ) |
| 244 | |
| 245 | type ErrorEvent struct { |
| 246 | AgentContext |
| 247 | |
| 248 | Type string `json:"type"` |
| 249 | SessionID string `json:"session_id,omitempty"` |
| 250 | Error string `json:"error"` |
| 251 | Code string `json:"code,omitempty"` |
| 252 | } |
| 253 | |
| 254 | // GetSessionID makes ErrorEvent satisfy [SessionScoped] so the existing |
| 255 | // isRootEvent check in the platform runner correctly distinguishes root-session |
nothing calls this directly
no outgoing calls
no test coverage detected