pio-command-line-client 0.2.1

A command line tool to send notifications to a pass-it-on server
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

/// Errors returned by pass-it-on-command-line-client
#[derive(Error, Debug)]
pub enum Error {
    // ### Converting from other error types ###
    /// Pass-thru [`std::io::Error`].
    #[error("std::io Error: {0}")]
    StdIo(#[from] std::io::Error),

    /// Pass-thru
    #[error("Pass-it-on Error: {0}")]
    PassItOn(#[from] pass_it_on::Error),
}