Stream Feature: Proper error handling for IQ #19

Closed
opened 2024-11-25 19:30:14 +00:00 by Ivan-lis · 1 comment
Member

Stanza errors:

Error mapping: https://xmpp.org/extensions/xep-0086.html (need to check if information is up to date and correct)

Error examples: https://xmpp.org/rfcs/rfc6121.html#roster-add-errors

    <error type='auth'>
      <forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
    </error>
    
    <error type='modify'>
      <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
    </error>

     <error type='modify'>
       <not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
     </error>

https://xmpp.org/rfcs/rfc6121.html#roster-update-error

     <error type='modify'>
       <item-not-found
           xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
     </error>
Stanza errors: - https://xmpp.org/rfcs/rfc6120.html#stanzas-error - https://xmpp.org/rfcs/rfc6120.html#rfc.section.8.3.2 Error mapping: https://xmpp.org/extensions/xep-0086.html (need to check if information is up to date and correct) Error examples: https://xmpp.org/rfcs/rfc6121.html#roster-add-errors ```xml <error type='auth'> <forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> <error type='modify'> <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> <error type='modify'> <not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> ``` https://xmpp.org/rfcs/rfc6121.html#roster-update-error ```xml <error type='modify'> <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> ```
Ivan-lis added this to the Main project 2024-11-25 19:30:14 +00:00
Ivan-lis self-assigned this 2024-11-25 19:34:52 +00:00
Author
Member
Branch with implementation: https://sha512sum.xyz/git/Larra/larra/src/branch/feature/handling_stanza_errors
Ivan-lis added a new dependency 2024-12-19 20:04:18 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: Larra/larra#19
No description provided.