#error #error-handling #re-exports #anyhow #bruh

bruh_moment

Re-export of the anyhow crate, but with Bruh as the error type

2 releases

0.1.1 Oct 5, 2022
0.1.0 Oct 5, 2022

#2636 in Rust patterns


Used in libenigma

MIT license

2KB

bruh_moment

Re-export of the fabulous error crate, anyhow

Usage

return Err(bruh!("Missing attribute: {}", missing));

or

pub fn fallible_function()->Result<_,Bruh>

Why?

I remembered that yeet was added to nightly rust so I thought that Bruh would be a funny name for an error type

Dependencies

~125KB