diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-17 14:56:44 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-17 14:56:44 +0800 |
| commit | 2e11849a23de0533b172fe2bb057fc3553a36cc1 (patch) | |
| tree | dedbb6e269198f3d9039e5a5024964e5d995b7a8 /src/systems/cmd/errors.rs | |
| parent | 775b3613f3ece75f7673ea1be6b6ec420c2bb76b (diff) | |
Handle early command output in prepare phase
Diffstat (limited to 'src/systems/cmd/errors.rs')
| -rw-r--r-- | src/systems/cmd/errors.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/systems/cmd/errors.rs b/src/systems/cmd/errors.rs index abde5de..efa12a9 100644 --- a/src/systems/cmd/errors.rs +++ b/src/systems/cmd/errors.rs @@ -1,5 +1,7 @@ use just_enough_vcs::lib::data::{member::MemberId, sheet::SheetName}; +use crate::systems::cmd::cmd_system::AnyOutput; + #[derive(thiserror::Error, Debug)] pub enum CmdPrepareError { #[error("IO error: {0}")] @@ -32,6 +34,9 @@ pub enum CmdPrepareError { #[error("No sheet in use")] NoSheetInUse, + + #[error("Error occurred and returned early")] + EarlyOutput(AnyOutput), } impl CmdPrepareError { |
