96a925c040
* Extract out parse_peer * wip: handle_packet extract * Extract out active_peers.rs * wip: rework to struct from free function * udp_listener working * wip * more udp_listener * tun_device * wip * tun_device * Remove some old commented out stuff * tidy * Remove commented out line
10 lines
182 B
Rust
10 lines
182 B
Rust
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
pub enum WgError {
|
|
#[error("unable to get tunnel")]
|
|
UnableToGetTunnel,
|
|
#[error("handshake failed")]
|
|
HandshakeFailed,
|
|
}
|