Hmm, alright have it your way rust. Not my change, so leaving it alone.

This commit is contained in:
Shane Handley 2019-10-24 11:48:28 +09:00 committed by timokoesters
parent fb3350c605
commit 4330b33ce0
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097

View File

@ -12,6 +12,8 @@ use crate::{discord, discord::DiscordUpdate};
pub enum Error {
// Error parsing input string or error resolving host name.
BadAddress(std::io::Error),
// Parsing/host name resolution successful but could not connect.
ConnectionFailed(ClientError),
// Parsing yielded an empty iterator (specifically to_socket_addrs()).
NoAddress,
InvalidAuth,