aether-mcp-servers 0.4.23

Built-in MCP tool servers for the Aether AI agent framework
Documentation
//! LSP-specific error types

use aether_lspd::ClientError;
use thiserror::Error;

#[doc = include_str!("../docs/lsp_error.md")]
#[derive(Debug, Error)]
pub enum LspError {
    /// I/O error (e.g., reading a file)
    #[error("I/O error: {0}")]
    Io(#[from] std::io::Error),

    /// LSP client / daemon communication error
    #[error(transparent)]
    Client(#[from] ClientError),

    /// Transport or protocol error
    #[error("Transport error: {0}")]
    Transport(String),
}

/// Result type alias for LSP operations
pub type Result<T> = std::result::Result<T, LspError>;