diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-10 18:57:31 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-10 18:57:31 +0200 |
commit | fa65e15373b4e8b2c1783dc5bcaf3f01862afb19 (patch) | |
tree | d07cd7bf0379cfaea57ce6d0a061333ede72ebf2 | |
parent | 1fe377f51442cd5ff5113147fd8451e749558689 (diff) |
feat(stream): add InvalidStanza exception
-rw-r--r-- | lib/stream.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stream.ml b/lib/stream.ml index dc779f8..8c7a8f3 100644 --- a/lib/stream.ml +++ b/lib/stream.ml @@ -1,5 +1,7 @@ open Lwt.Syntax +exception InvalidStanza of string + let start domain : Portal.t Lwt.t = (** [start domain] is a promise containing a Portal (stream * push) connected to the XMPP server [domain]. |