#[derive(Debug, thiserror::Error)]
pub enum CoreError {
#[error("HTTP request failed: {0}")]
Http(#[from] reqwest::Error),
#[error("failed to parse response: {0}")]
Deserialize(#[from] serde_json::Error),
#[error("credential error: {0}")]
Credentials(String),
#[error("invalid project id: {0}")]
InvalidProjectId(String),
}