erratic 0.10.1

Handling errors in an efficient way.
Documentation
1
2
3
4
5
6
7
8
use erratic::*;
use std::error::Error as _;

#[test]
fn from_context_creates_const() {
    let err = mkerr!("file not found").stateless();
    assert!(err.erase_ref().source().is_none());
}