---
name: "AnyEvent::XMPP::Error::Stream"
section: "3pm"
platform: "linux"
package: "perl-anyevent-xmpp"
version: "0.55-7"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/AnyEvent::XMPP::Error::Stream"
---

# AnyEvent::XMPP::Error::Stream(3pm)

XML Stream errors Subclass of AnyEvent::XMPP::Error

## NAME

AnyEvent::XMPP::Error::Stream - XML Stream errors

Subclass of AnyEvent::XMPP::Error

### METHODS

- **xml\_node ()**

  Returns the AnyEvent::XMPP::Node object for this stream error.

- **name ()**

  Returns the name of the error. That might be undef, one of the following strings or some other string that has been discovered by a heuristic (because some servers send errors that are not in the RFC).

  ```
     bad-format
     bad-namespace-prefix
     conflict
     connection-timeout
     host-gone
     host-unknown
     improper-addressing
     internal-server-error
     invalid-from
     invalid-id
     invalid-namespace
     invalid-xml
     not-authorized
     policy-violation
     remote-connection-failed
     resource-constraint
     restricted-xml
     see-other-host
     system-shutdown
     undefined-condition
     unsupported-stanza-type
     unsupported-version
     xml-not-well-formed
  ```

- **text ()**

  The humand readable error portion. Might be undef if none was received.

## AUTHOR

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

## 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.
