diff options
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), } |
