1AnyEvent::XMPP::Error::USstearnzCao(n3t)ributed Perl DocAunmyeEnvteantti:o:nXMPP::Error::Stanza(3)
2
3
4

NAME

6       AnyEvent::XMPP::Error::Stanza - Stanza errors
7
8       Subclass of AnyEvent::XMPP::Error
9
10   METHODS
11       xml_node ()
12           Returns the AnyEvent::XMPP::Node object for this Stanza error.
13           This method returns undef if the Stanza timeouted.
14
15           In the case of a timeout the "condition" method returns
16           "client-timeout", "type" returns 'cancel' and "code" undef.
17
18       type ()
19           This method returns one of:
20
21              'cancel', 'continue', 'modify', 'auth' and 'wait'
22
23       code ()
24           This method returns the error code if one was found.
25
26       condition ()
27           Returns the error condition string if one was found when receiving
28           the Stanza error.  It can be undef or one of:
29
30              bad-request
31              conflict
32              feature-not-implemented
33              forbidden
34              gone
35              internal-server-error
36              item-not-found
37              jid-malformed
38              not-acceptable
39              not-allowed
40              not-authorized
41              payment-required
42              recipient-unavailable
43              redirect
44              registration-required
45              remote-server-not-found
46              remote-server-timeout
47              resource-constraint
48              service-unavailable
49              subscription-required
50              undefined-condition
51              unexpected-request
52
53       condition_node ()
54           Returns the error condition node if one was found when receiving
55           the Stanza error.  This is mostly for debugging purposes.
56
57       text ()
58           The humand readable error portion. Might be undef if none was
59           received.
60

AUTHOR

62       Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"
63
65       Copyright 2007, 2008 Robin Redeker, all rights reserved.
66
67       This program is free software; you can redistribute it and/or modify it
68       under the same terms as Perl itself.
69
70
71
72perl v5.32.0                      2020-07-28  AnyEvent::XMPP::Error::Stanza(3)
Impressum