From 8c239e5c7a49cff350104b09cbb74d862c2ec420 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Wed, 26 Mar 2025 19:13:10 +0000 Subject: feat: stream error handling --- stanza/src/stream.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stanza/src/stream.rs') diff --git a/stanza/src/stream.rs b/stanza/src/stream.rs index 8e1982f..732a826 100644 --- a/stanza/src/stream.rs +++ b/stanza/src/stream.rs @@ -181,8 +181,8 @@ impl FromElement for Feature { #[derive(Error, Debug, Clone)] pub struct Error { - error: StreamError, - text: Option, + pub error: StreamError, + pub text: Option, } impl Display for Error { -- cgit