elvis 0.3.1

Calling Elvis, is anybody home?
Documentation
//! Elvis errors
use elvis_core::Error as SharedError;

/// Error sets
#[derive(Debug)]
pub enum Error {
    /// Deserialize html plain text failed
    DeserializeHtmlError(String),
    /// Passing in broken function
    FunctionError(String),
    /// Serialize widgets to html failed
    SerializeHtmlError,
    /// Unwrap a none value
    NoneError,
}

impl From<SharedError> for Error {
    fn from(e: SharedError) -> Error {
        match e {
            SharedError::FunctionError(s) => Error::FunctionError(s),
            SharedError::DeserializeHtmlError(s) => Error::DeserializeHtmlError(s),
            _ => Error::NoneError,
        }
    }
}