blob: 9e8c98a7514be4eec11e24cfad5c9e29989a4f7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use super::pinger;
use crate::TunnelError;
/// Connectivity monitor errors
#[derive(thiserror::Error, Debug)]
pub enum Error {
/// Failed to read tunnel's configuration
#[error("Failed to read tunnel's configuration")]
ConfigReadError(TunnelError),
/// Failed to send ping
#[error("Ping failed")]
PingError(#[from] pinger::Error),
}
|