erratic 0.2.3

Handling errors in an efficient way.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Error placeholder for [`Builder`][crate::Builder].
use std::{
    error,
    fmt::{self, Display},
};

/// Not an error, a zero-sized error placeholder for [Error][crate::Error], represents the end of the error source chain.
#[derive(Debug)]
pub struct Nae;

impl Display for Nae {
    fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result {
        Ok(())
    }
}

impl error::Error for Nae {}