thisctx 0.2.0

Easily create error with contexts
Documentation
use thisctx::{IntoError, WithContext};

#[derive(Debug, WithContext)]
#[thisctx(unit(true))]
enum Error {
    #[thisctx(unit(false))]
    NotUnit(),
    Unit(),
}

#[test]
fn attr_unit() {
    NotUnitContext().build();
    UnitContext.build();
}