Browse Source

fix documentation of StanzaError

master
Philipp Balzarek 12 years ago
parent
commit
31efaaf1c8
  1. 6
      source/Network/Xmpp/Types.hs

6
source/Network/Xmpp/Types.hs

@ -288,9 +288,9 @@ data PresenceType = Subscribe | -- ^ Sender wants to subscribe to presence @@ -288,9 +288,9 @@ data PresenceType = Subscribe | -- ^ Sender wants to subscribe to presence
Unavailable deriving (Eq, Read, Show)
-- | All stanzas (IQ, message, presence) can cause errors, which in the Xmpp
-- stream looks like <stanza-kind to='sender' type='error'>. These errors are
-- wrapped in the @StanzaError@ type.
-- TODO: Sender XML is (optional and is) not yet included.
-- stream looks like @\<stanza-kind to=\'sender\' type=\'error\'\>@ . These
-- errors are wrapped in the @StanzaError@ type. TODO: Sender XML is (optional
-- and is) not yet included.
data StanzaError = StanzaError
{ stanzaErrorType :: StanzaErrorType
, stanzaErrorCondition :: StanzaErrorCondition

Loading…
Cancel
Save