AnyEven...::Stanza(3)
okay so bestie, welcome to the AnyEvent::XMPP::Error::Stanza(3) page from the User Contributed Perl Documentation β section 3, and the header line shows AnyEven...::Stanza(3) because truncation is a whole mood. This page is all about stanza errors and it's lowkey useful, no cap.
πΈ NAME πΈ
AnyEvent::XMPP::Error::Stanza β Stanza errors.
It's a subclass of AnyEvent::XMPP::Error β so it's giving error object, but make it stanza-specific π
.
π METHODS π
xml_node ()
Returns the AnyEvent::XMPP::Node object for this Stanza error. This method returns undef if the Stanza timeouted.
If it did timeout? Okay so the "condition" method returns "client-timeout", "type" returns 'cancel', and "code" returns undef. That's the whole timeout vibe check π.
type ()
This method returns one of:
'cancel''continue''modify''auth''wait'
code ()
Returns the error code if one was found. If not? Then no code, bestie.
condition ()
Returns the error condition string if one was found when receiving the Stanza error. It can be undef or one of these:
bad-requestconflictfeature-not-implementedforbiddengoneinternal-server-erroritem-not-foundjid-malformednot-acceptablenot-allowednot-authorizedpayment-requiredrecipient-unavailableredirectregistration-requiredremote-server-not-foundremote-server-timeoutresource-constraintservice-unavailablesubscription-requiredundefined-conditionunexpected-request
condition_node ()
Returns the error condition node if one was found when receiving the Stanza error. This is mostly for debugging purposes β like a little backstage pass for when you need to peek at the node π΅οΈββοΈ.
text ()
The human-readable error portion. Might be undef if none was received.
β¨ AUTHOR β¨
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>" β iconic.
π COPYRIGHT & LICENSE π
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.
Legal bestie moment over. Mwah π β signed off by perl v5.42.2 on 2026-02-15, and the footer still says AnyEven...::Stanza(3).
π¦ where this page comes from
- alpine 3.24: perl-anyevent-xmpp-doc 0.55-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms