use thiserror::Error;
#[derive(Debug, Error)]
pub enum ProfileKitError {
#[error("Database error: {0}")]
Database(String),
#[error("User profile not found")]
NotFound,
#[error("Invalid input: {0}")]
InvalidInput(String),
#[error("User preferences are missing")]
MissingPreferences,
#[error("User profile already exists")]
AlreadyExists,
#[error("Storage error occurred")]
StorageError,
}