Files
mould-rs/src/error.rs
Nils Pukropp f413d5e2eb
Some checks failed
Version Check / check-version (pull_request) Failing after 3s
updated clap output
2026-03-16 17:57:44 +01:00

19 lines
368 B
Rust

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),
}