AnyEvent::XMPP::Error::Presence - Presence errors


AnyEvent-XMPP documentation Contained in the AnyEvent-XMPP distribution.

Index


Code Index:

NAME

Top

AnyEvent::XMPP::Error::Presence - Presence errors

Subclass of AnyEvent::XMPP::Error::Stanza

AUTHOR

Top

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

COPYRIGHT & LICENSE

Top


AnyEvent-XMPP documentation Contained in the AnyEvent-XMPP distribution.
package AnyEvent::XMPP::Error::Presence;
use AnyEvent::XMPP::Error::Stanza;
use strict;
our @ISA = qw/AnyEvent::XMPP::Error::Stanza/;

sub string {
   my ($self) = @_;

   sprintf "presence error: %s/%s (type %s): %s",
      $self->code || '',
      $self->condition || '',
      $self->type,
      $self->text
}


1; # End of AnyEvent::XMPP