diff options
author | 2025-03-26 19:13:10 +0000 | |
---|---|---|
committer | 2025-03-26 19:13:10 +0000 | |
commit | 8c239e5c7a49cff350104b09cbb74d862c2ec420 (patch) | |
tree | 4b392f1ffa6b91fadf68b4a7f67ad5f901fbeda4 /stanza/src/stream.rs | |
parent | 410fe3af16be5985c868b00908b8ddf4ed6e469d (diff) | |
download | luz-8c239e5c7a49cff350104b09cbb74d862c2ec420.tar.gz luz-8c239e5c7a49cff350104b09cbb74d862c2ec420.tar.bz2 luz-8c239e5c7a49cff350104b09cbb74d862c2ec420.zip |
feat: stream error handling
Diffstat (limited to '')
-rw-r--r-- | stanza/src/stream.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<Text>, + pub error: StreamError, + pub text: Option<Text>, } impl Display for Error { |