mita 0.0.1

Mita client - CLI and library for Mita monitoring system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum MitaError {
    #[error("config error")]
    Config(String),
    #[error("auth failed")]
    Auth,
    #[error("queue closed")]
    QueueClosed,
    #[error("network error: {0}")]
    Net(#[from] reqwest::Error),
}