ag-session 0.13.7

Agentty is an ADE (Agentic Development Environment) for structured, controllable AI-assisted software development.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Errors returned by the programmatic session API.

/// Stable error returned by [`crate::SessionService`] operations.
#[derive(Clone, Debug, Eq, PartialEq, thiserror::Error)]
pub enum SessionError {
    /// Persisted session data could not be converted into the public model.
    #[error("Invalid session data: {0}")]
    InvalidData(String),
    /// The requested session does not exist.
    #[error("Session not found")]
    NotFound,
    /// The host session workflow rejected or failed the requested operation.
    #[error("{0}")]
    Operation(String),
}