updated clap output
Some checks failed
Version Check / check-version (pull_request) Failing after 3s

This commit is contained in:
2026-03-16 17:57:44 +01:00
parent e72fdd9fcb
commit f413d5e2eb
5 changed files with 168 additions and 42 deletions

18
src/error.rs Normal file
View File

@@ -0,0 +1,18 @@
use thiserror::Error;
use std::io;
/// Custom error types for the mould application.
#[derive(Error, Debug)]
pub enum MouldError {
#[error("IO error: {0}")]
Io(#[from] io::Error),
#[error("Format error: {0}")]
Format(String),
#[error("File not found: {0}")]
FileNotFound(String),
#[error("Terminal error: {0}")]
Terminal(String),
}