use thiserror::Error;
#[derive(Debug, Error)]
pub enum OpConnectError {
#[error("1Password Connect configuration error: {0}")]
Config(String),
#[error("1Password Connect authentication failed: {0}")]
Auth(String),
#[error("1Password Connect transport error: {0}")]
Transport(String),
#[error("1Password Connect HTTP {status}: {body}")]
Http { status: u16, body: String },
#[error("1Password vault not found: {0}")]
VaultNotFound(String),
#[error("1Password item not found: {0}")]
ItemNotFound(String),
}