cdumay_error_derive

Crates.iocdumay_error_derive
lib.rscdumay_error_derive
version1.0.3
created_at2025-02-05 21:29:26.804545+00
updated_at2025-04-20 23:05:46.981864+00
descriptionStreamlining Error Handling in Rust
homepagehttps://github.com/cdumay/cdumay_error
repositoryhttps://github.com/cdumay/cdumay_error
max_upload_size
id1544742
size14,023
Cédric Dumay (cdumay)

documentation

https://docs.rs/cdumay_error_derive

README

cdumay_error_derive

License: BSD-3-Clause cdumay_error_derive on crates.io cdumay_error_derive on docs.rs Source Code Repository

The cdumay_error_derive crate provides procedural macros to simplify the creation of custom error types in Rust. By leveraging these macros, developers can efficiently define error structures that integrate seamlessly with the cdumay_error error management ecosystem.

Overview

Error handling in Rust often involves creating complex structs to represent various error kinds and implementing traits to provide context and conversions. The cdumay_error_derive crate automates this process by offering macros that generate the necessary boilerplate code, allowing for more readable and maintainable error definitions.

Features

  • Macros: Automatically generate implementations for custom error types.
  • Integration with cdumay_error: Designed to work cohesively with the cdumay_error crate, ensuring consistent error handling patterns.

Usage

See cdumay_error documentation for more information.

Commit count: 9

cargo fmt