quickterm 0.1.0

A small drop-down terminal for Sway/i3 IPC
Documentation
use thiserror::Error;

#[derive(Debug, Error)]
pub enum QuicktermError {
    #[error("invalid config file: {0}")]
    InvalidConfig(String),

    #[error("unknown shell: {0}")]
    UnknownShell(String),

    #[error("failed to expand command: {0}")]
    Expansion(String),

    #[error("failed to run menu: {0}")]
    Menu(String),

    #[error("ipc error: {0}")]
    Ipc(String),

    #[error("io error: {0}")]
    Io(#[from] std::io::Error),

    #[error("json error: {0}")]
    Json(#[from] serde_json::Error),
}