1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! Error types used throughout the DEK management system.
//!
//! This module provides a comprehensive error handling system for the DEK library,
//! encompassing all possible error conditions that may arise during DEK operations.
//! It includes errors for caching, encryption, key generation, and CMK operations.
/// Represents all possible errors that may occur when working with DEKs.
///
/// This enum serves as the top-level error type for the DEK library,
/// encompassing all possible error conditions:
/// - Cache-related errors (storage, retrieval)
/// - Encryption/decryption errors
/// - Key generation errors
/// - CMK-related errors
/// - General operational errors
use fmt;
/// Represents a more general error in the DEK library.
///
/// This error type is used for operational errors that don't fit into
/// more specific categories, such as:
/// - Configuration errors
/// - System-level issues
/// - Unexpected conditions
;