aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/error.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index f117e82..8875ebb 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -3,6 +3,7 @@ use std::str::Utf8Error;
use rsasl::mechname::MechanismNameError;
use crate::stanza::client::error::Error as ClientError;
+use crate::stanza::stream::Error as StreamError;
use crate::{jid::ParseError, stanza::sasl::Failure};
#[derive(Debug)]
@@ -22,7 +23,10 @@ pub enum Error {
JID(ParseError),
Authentication(Failure),
ClientError(ClientError),
+ StreamError(StreamError),
MissingError,
+ Disconnected,
+ Connecting,
}
#[derive(Debug)]