Initial upload: gitignore-gen Rust CLI tool with 100+ templates
Some checks failed
CI / test (push) Has been cancelled
CI / build (push) Has been cancelled
CI / lint (push) Has been cancelled

This commit is contained in:
2026-02-04 04:43:17 +00:00
parent 4bd68a821a
commit 7f9878dee2

View File

@@ -0,0 +1,16 @@
use thiserror::Error;
#[derive(Debug, Error)]
pub enum AppError {
#[error("Configuration error: {message}")]
ConfigError { message: String },
#[error("Template error: {message}")]
TemplateError { message: String },
#[error("IO error: {message}")]
IoError { message: String },
#[error("Unknown error occurred")]
Unknown,
}