bin_encode_decode/common/error/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(Debug, Clone)]
5pub enum EncodeError {
6 /// Indicates invalid character set configuration.
7 CharsetError,
8}
9
10/// Represents errors that can occur during decoding.
11///
12/// These errors are related to character set validation and decoding process.
13#[derive(Debug, Clone)]
14pub enum DecodeError {
15 /// Indicates invalid character set configuration.
16 CharsetError,
17}