| AnyEvent-XMPP documentation | Contained in the AnyEvent-XMPP distribution. |
AnyEvent::XMPP::Error::Register - In-band registration error
Subclass of AnyEvent::XMPP::Error::IQ
This is a In-band registration error. For a mapping of IQ error values to their meaning please consult XEP-0077 for now.
Returns the state of registration, one of:
register unregister submit
Robin Redeker, <elmex at ta-sa.org>, JID: <elmex at jabber.org>
Copyright 2007, 2008 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.
| AnyEvent-XMPP documentation | Contained in the AnyEvent-XMPP distribution. |
package AnyEvent::XMPP::Error::Register; use AnyEvent::XMPP::Error; use strict; our @ISA = qw/AnyEvent::XMPP::Error::IQ/;
sub register_state { my ($self) = @_; $self->{register_state} } sub string { my ($self) = @_; sprintf "ibb registration error (in %s): %s", $self->register_state, $self->SUPER::string }
1; # End of AnyEvent::XMPP