From 7bd2dea88c34957122aa640de42f6bba88f5734e Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Mon, 18 May 2026 12:18:49 +0800 Subject: Add documentation comments to chain and error enums --- mingling_core/src/asset/chain/error.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mingling_core/src/asset') 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), } -- cgit