| /// 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, | |
| }, | |
| } | |