From e703284539384b461d204c73e7e14daead3f06d9 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Thu, 27 Mar 2025 14:26:27 +0000 Subject: feat: disco info from server --- filamento/src/error.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filamento/src/error.rs') diff --git a/filamento/src/error.rs b/filamento/src/error.rs index c5fdb03..206d6be 100644 --- a/filamento/src/error.rs +++ b/filamento/src/error.rs @@ -103,8 +103,12 @@ impl From for DatabaseOpenError { #[derive(Debug, Error, Clone)] // TODO: should probably have all iq query related errors here, including read, write, stanza error, etc. pub enum IqError { + #[error("writing response: {0}")] + WriteError(#[from] WriteError), #[error("no iq with id matching `{0}`")] NoMatchingId(String), + #[error("incorrect addressee: {0}")] + IncorrectAddressee(jid::JID), } #[derive(Debug, Error, Clone)] -- cgit