1AnyEvent::XMPP::Error::UMsUeCr(3C)ontributed Perl DocumeAnntyaEtvieonnt::XMPP::Error::MUC(3)
2
3
4

NAME

6       AnyEvent::XMPP::Error::MUC - MUC error
7
8       Subclass of AnyEvent::XMPP::Error
9
10   METHODS
11       type
12           This method returns either:
13
14           join_timeout
15               If the joining of the room took too long.
16
17           no_config_form
18               If the room we requested the configuration from didn't provide
19               a data form.
20
21           subject_change_forbidden
22               If changing the subject of a room is not allowed.
23
24           message_error
25               If this is an unidentified message error.
26
27           If we got a presence error the method "presence_error" returns a
28           AnyEvent::XMPP::Error::Presence object with further details.
29           However, this class tries to provide a mapping for you (the
30           developer) to ease the load of figuring out which error means what.
31           To make identification of the errors with XEP-0045 more clear I
32           included the error codes and condition names.
33
34           Here are the more descriptive types:
35
36           password_required
37               Entering a room Inform user that a password is required.
38
39               (Condition: not-authorized, Code: 401)
40
41           banned
42               Entering a room Inform user that he or she is banned from the
43               room
44
45               (Condition: forbidden, Code: 403)
46
47           room_locked
48               Entering a room Inform user that the room does not exist and
49               someone is currently creating it.
50
51               (Condition: item-not-found, Code: 404)
52
53           room_not_creatable
54               Entering a room Inform user that room creation is restricted
55
56               (Condition: not-allowed, Code: 405)
57
58           use_reserved_nick
59               Entering a room Inform user that the reserved roomnick must be
60               used
61
62               (Condition: not-acceptable, Code: 406)
63
64           not_on_memberlist
65               Entering a room Inform user that he or she is not on the member
66               list
67
68               (Condition: registration-required, Code: 407)
69
70           nickname_in_use
71               Entering a room Inform user that his or her desired room
72               nickname is in use or registered by another user
73
74               (Condition: conflict, Code: 409)
75
76           room_full
77               Entering a room Inform user that the maximum number of users
78               has been reached
79
80               (Condition: service-unavailable, Code: 503)
81
82           The condition and code are also available through the
83           AnyEvent::XMPP::Error::Presence object returned by
84           "presence_error", see below.
85
86       text
87           This method returns a human readable text if one is available.
88
89       presence_error
90           Returns a AnyEvent::XMPP::Error::Presence object if this error
91           origins to such an error and not some internal error.
92
93       message_error
94           Returns a AnyEvent::XMPP::Error::Message object if this error
95           origins to such an error and not some internal error.
96

AUTHOR

98       Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"
99
101       Copyright 2007, 2008 Robin Redeker, all rights reserved.
102
103       This program is free software; you can redistribute it and/or modify it
104       under the same terms as Perl itself.
105
106
107
108perl v5.34.0                      2021-07-22     AnyEvent::XMPP::Error::MUC(3)
Impressum