summaryrefslogtreecommitdiff
path: root/src/systems/cmd/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems/cmd/errors.rs')
-rw-r--r--src/systems/cmd/errors.rs5
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 {