Download codex-rs/agent-graph-store/src/error.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 744 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/agent-graph-store/src/error.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/agent-graph-store/src/error.rs
-
curl -L -o error.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/agent-graph-store/src/error.rs
744 Bytes
| /// Result type returned by agent graph store operations. | |
| pub type AgentGraphStoreResult<T> = Result<T, AgentGraphStoreError>; | |
| /// Error type shared by agent graph store implementations. | |
| pub enum AgentGraphStoreError { | |
| /// The caller supplied invalid request data. | |
| InvalidRequest { | |
| /// User-facing explanation of the invalid request. | |
| message: String, | |
| }, | |
| /// Catch-all for implementation failures that do not fit a more specific category. | |
| Internal { | |
| /// User-facing explanation of the implementation failure. | |
| message: String, | |
| }, | |
| } | |