error_forge/
lib.rs

1//! # Error Forge
2//! 
3//! A Rust library for creating and managing custom error types with ease.
4//!
5//! This library provides a simple and ergonomic way to define custom error types
6//! using the `thiserror` crate. It allows developers to create structured error types
7//! with minimal boilerplate, making error handling in Rust applications more efficient
8//! and readable.
9//! 
10//! ## Features
11//! - Define custom error types with `thiserror`
12//! - Use `Result<T, E>` type alias for simplified error handling
13//! - Provides a unified error handling mechanism for various scenarios
14//! - Supports serialization and deserialization of errors
15//! - Integrates seamlessly with the Rust ecosystem
16pub mod error;
17pub mod macros;
18
19#[cfg(feature = "serde")]
20extern crate serde;
21
22#[cfg(test)]
23mod tests {
24	// Add your tests here
25	#[test]
26	fn it_works() {
27		assert_eq!(2 + 2, 4);
28	}
29}