diagnostic-quick 0.4.0

Quick error type for diagnostic
Documentation
use thrussh::{AgentAuthError, Error};

use crate::QError;

impl From<Error> for QError {
    fn from(error: Error) -> Self {
        QError::fast_runtime_error(error)
    }
}

impl From<AgentAuthError> for QError {
    fn from(error: AgentAuthError) -> Self {
        QError::fast_runtime_error(error)
    }
}

impl From<thrussh_keys::Error> for QError {
    fn from(error: thrussh_keys::Error) -> Self {
        QError::fast_runtime_error(error)
    }
}