| AnyEvent-XMPP documentation | Contained in the AnyEvent-XMPP distribution. |
AnyEvent::XMPP::Error::Parser - XML parse errors
Subclass of AnyEvent::XMPP::Error
Returns the XML parser exception.
Returns the errornous data.
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::Parser; use AnyEvent::XMPP::Error; use strict; our @ISA = qw/AnyEvent::XMPP::Error/;
sub init { my ($self) = @_; }
sub exception { return $_[0]->{exception} }
sub data { $_[0]->{data} } sub string { my ($self) = @_; sprintf ("xml parse error: exception: %s, data: [%s]", $self->exception, $self->data) }
1; # End of AnyEvent::XMPP