bin_encode_decode/common/enum.rs
1/// Represents errors that can occur during encoding.
2///
3/// These errors are related to character set validation and encoding process.
4#[derive(Clone, Copy, Debug, Default)]
5pub enum EncodeError {
6 /// Indicates invalid character set configuration.
7 #[default]
8 CharsetError,
9}
10
11/// Represents errors that can occur during decoding.
12///
13/// These errors are related to character set validation and decoding process.
14#[derive(Clone, Copy, Debug, Default)]
15pub enum DecodeError {
16 /// Indicates invalid character set configuration.
17 #[default]
18 CharsetError,
19}