aboutsummaryrefslogtreecommitdiffstats
path: root/lampada/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lampada/src/error.rs')
-rw-r--r--lampada/src/error.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lampada/src/error.rs b/lampada/src/error.rs
index cdfb4db..384d1ee 100644
--- a/lampada/src/error.rs
+++ b/lampada/src/error.rs
@@ -20,6 +20,8 @@ pub enum ConnectionError {
// TODO: Display for Content
#[error("disconnected")]
Disconnected,
+ #[error("invalid server jid: {0}")]
+ InvalidServerJID(#[from] jid::ParseError),
}
#[derive(Debug, Error, Clone)]