package Net::XMPP2::Error::Presence; use Net::XMPP2::Error::Stanza; our @ISA = qw/Net::XMPP2::Error::Stanza/; =head1 NAME Net::XMPP2::Error::Presence - Presence errors Subclass of L =cut sub string { my ($self) = @_; sprintf "presence error: %s/%s (type %s): %s", $self->code || '', $self->condition || '', $self->type, $self->text } =head1 AUTHOR Robin Redeker, C<< >>, JID: C<< >> =head1 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. =cut 1; # End of Net::XMPP2