// Copyright (c) 2026, Salesforce, Inc.,
// All rights reserved.
// For full license text, see the LICENSE.txt file

//! Possible errors encountered during the usage of  a [`crate::Cache`]

use thiserror::Error;

/// Describes the errors encountered during the development with a [`crate::Cache`]
#[derive(Error, Debug)]
pub enum CacheError {
    #[error("Error saving data in cache {cache_id:?}: {status:?}")]
    SaveError { status: String, cache_id: String },
}
