Codex.Error exception (Codex SDK v0.3.0)
View SourceBase error struct for Codex failures.
Summary
Functions
Normalizes raw error payloads into %Codex.Error{} structs.
Types
Functions
Normalizes raw error payloads into %Codex.Error{} structs.
Accepts maps emitted by codex-rs (turn.failed), basic strings, or already
constructed %Codex.Error{} structs. Known codes and types are classified
into stable :kind atoms so callers can branch on error domains (e.g.,
rate limits, sandbox assessment failures).