diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-18 12:18:49 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-18 12:18:49 +0800 |
| commit | 7bd2dea88c34957122aa640de42f6bba88f5734e (patch) | |
| tree | 54027aa3ec962dd6fbff82e9e526208cba2f37a3 /mingling_core/src/asset/chain | |
| parent | 287d45e32b9bdeaaf58b70ebb9a27335f74c529d (diff) | |
Add documentation comments to chain and error enums
Diffstat (limited to 'mingling_core/src/asset/chain')
| -rw-r--r-- | mingling_core/src/asset/chain/error.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mingling_core/src/asset/chain/error.rs b/mingling_core/src/asset/chain/error.rs index 39e4f62..4269c62 100644 --- a/mingling_core/src/asset/chain/error.rs +++ b/mingling_core/src/asset/chain/error.rs @@ -1,8 +1,12 @@ use crate::error::ProgramInternalExecuteError; +/// Represents errors that can occur during chain processing. #[derive(Debug)] pub enum ChainProcessError { + /// An error with a custom description. Other(String), + + /// An I/O error that occurred during chain processing. IO(std::io::Error), } |
