rcommunity_core 0.0.3

Core facilities for crate `rcommunity`
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Defines error and result types used by this crate.

use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("Not yet implemented.")]
    NotImplemented,
    #[error("Unknown error: {0}.")]
    UnknownError(String),
}

pub type Result<T> = core::result::Result<T, Error>;