Skip to content

Commit 333c6e8

Browse files
committed
add badges
1 parent 749df47 commit 333c6e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# n0-error
22

3+
[![Documentation](https://docs.rs/n0-error/badge.svg)](https://docs.rs/n0-error)
4+
[![Crates.io](https://img.shields.io/crates/v/n0-error.svg)](https://crates.io/crates/n0-error)
5+
36
An error library that supports tracking the call-site location of errors.
47

58
This crate provides a `StackError` trait and proc macro to ergonomically work with nested
@@ -13,6 +16,7 @@ the location metadata of `StackError` errors accessible through the full error c
1316

1417
```rust
1518
use n0_error::{e, ensure, Result, StackResultExt, stack_error};
19+
1620
/// The `stack_error` macro controls how to turn our enum into a `StackError`.
1721
///
1822
/// * `add_meta` adds a field to all variants to track the call-site error location

0 commit comments

Comments
 (0)