From 2e11849a23de0533b172fe2bb057fc3553a36cc1 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 17 Mar 2026 14:56:44 +0800 Subject: Handle early command output in prepare phase --- src/systems/cmd/errors.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/systems/cmd/errors.rs') 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 { -- cgit