Have a look at the eros crate for rust. It implements a convenient error set mechanism mostly without macros