error-kind 0.0.2

Separate `Error` from `ErrorKind` with convenient derive macros!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// =============================================================================
// USES
// =============================================================================

// -----------------------------------------------------------------------------
use error_kind::ErrorKind;

// =============================================================================
// TYPES
// =============================================================================

// -----------------------------------------------------------------------------
#[derive(Clone, Copy, Debug, ErrorKind, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum SimpleErrorKind {
    Error1,
    Error2,
    Error3,
}