cargo_tangle/command/create/error.rs
1#[derive(thiserror::Error, Debug)]
2pub enum Error {
3 #[error("Failed to generate blueprint: {0}")]
4 GenerationFailed(anyhow::Error),
5 #[error("Failed to initialize submodules, see .gitmodules to add them manually")]
6 SubmoduleInit,
7 #[error("{0}")]
8 Io(#[from] std::io::Error),
9 #[error("Missing required template variables when --skip-prompts is used: {0}")]
10 MissingTemplateVariables(String),
11}