proc_nuhound

Crates.ioproc_nuhound
lib.rsproc_nuhound
version0.1.0
created_at2025-03-05 14:04:36.89586+00
updated_at2025-03-05 14:04:36.89586+00
descriptionNuhound error handling macros
homepagehttps://github.com/converse99/proc_nuhound
repositoryhttps://github.com/converse99/proc_nuhound
max_upload_size
id1579049
size39,790
Porter (converse99)

documentation

README

proc_nuhound

A library of Rust proc macros for nuhound error tracing.

Rust programmers often find the question mark operator invaluable in extracting values from Result and Option and immediately returning to the calling context in the case of an Err or None. This library provides a trio of proc macros that simplify the use of the nuhound type in error tracing.

With the disclose feature enabled, the error messages contain the line number and column number of the source file that originated the error. This functionality is provided by the convert!, examine! and custom! macros. These macros are designed to help with the simplification of error handling in a concise consistent Rust style in line with the nuhound paradigm.

These macros require nuhound v0.2 or later.

For a fuller explantion of usage please refer to nuhound v0.2 onwards.

License

This project is licensed under either:

Commit count: 2

cargo fmt