pdk-cache-lib 1.9.2

PDK Cache Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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 },
}