use thiserror::Error;
#[derive(Debug, Error)]
pub enum AuthError {
#[error("missing required credential field(s): {0}")]
MissingCredentials(String),
#[error("access token expired and could not be refreshed")]
TokenExpired,
#[error("no valid credentials for auth method '{0}'; run `github-mcp setup`")]
NoActiveCredentials(String),
}