GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::XMPP2::ERROR::MUC (3)

.ds Aq ’

NAME

Net::XMPP2::Error::MUC - MUC error

Subclass of Net::XMPP2::Error

    METHODS

<B>typeB> This method returns either:
join_timeout If the joining of the room took too long.
no_config_form If the room we requested the configuration from didn’t provide a data form.
subject_change_forbidden If changing the subject of a room is not allowed.
message_error If this is an unidentified message error.

If we got a presence error the method presence_error returns a Net::XMPP2::Error::Presence object with further details. However, this class tries to provide a mapping for you (the developer) to ease the load of figuring out which error means what. To make identification of the errors with XEP-0045 more clear I included the error codes and condition names.

Here are the more descriptive types:
password_required Entering a room Inform user that a password is required.

(Condition: not-authorized, Code: 401)

banned Entering a room Inform user that he or she is banned from the room

(Condition: forbidden, Code: 403)

room_locked Entering a room Inform user that the room does not exist and someone is currently creating it.

(Condition: item-not-found, Code: 404)

room_not_creatable Entering a room Inform user that room creation is restricted

(Condition: not-allowed, Code: 405)

use_reserved_nick Entering a room Inform user that the reserved roomnick must be used

(Condition: not-acceptable, Code: 406)

not_on_memberlist Entering a room Inform user that he or she is not on the member list

(Condition: registration-required, Code: 407)

nickname_in_use Entering a room Inform user that his or her desired room nickname is in use or registered by another user

(Condition: conflict, Code: 409)

room_full Entering a room Inform user that the maximum number of users has been reached

(Condition: service-unavailable, Code: 503)

The condition and code are also available through the Net::XMPP2::Error::Presence object returned by presence_error, see below.

<B>textB> This method returns a human readable text if one is available.
<B>presence_errorB> Returns a Net::XMPP2::Error::Presence object if this error origins to such an error and not some internal error.
<B>message_errorB> Returns a Net::XMPP2::Error::Message object if this error origins to such an error and not some internal error.

CONTENTS

AUTHOR

Robin Redeker, <elmex at ta-sa.org>, JID: <elmex at jabber.org>

COPYRIGHT & LICENSE

Copyright 2007 Robin Redeker, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::XMPP2::ERROR::MUC (3) 2008-03-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.