summaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
new file mode 100644
index 0000000..a632537
--- /dev/null
+++ b/src/error.rs
@@ -0,0 +1,7 @@
+#[derive(Debug)]
+pub enum JabberError {
+ ConnectionError,
+ BadStream,
+ StartTlsUnavailable,
+ TlsNegotiation,
+}