class XMPP::Stanza::Error

Overview

Message Packet XMPP Errors Error is an XMPP stanza payload that is used to report error on message, presence or iq stanza. It is intended to be added in the payload of the erroneous stanza.

Defined in:

xmpp/stanza/error.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module XMPP::Stanza::Packet

name : String name, to_xml(xml : XML::Builder)
to_xml : String
to_xml

Constructor Detail

def self.new(xml : String) #

[View source]
def self.new(node : XML::Node) #

[View source]

Class Method Detail

def self.xml_name : String #

[View source]

Instance Method Detail

def code : Int32 #

[View source]
def code=(code : Int32) #

[View source]
def name : String #

[View source]
def reason : String #

[View source]
def reason=(reason : String) #

[View source]
def text : String #

[View source]
def text=(text : String) #

[View source]
def to_xml(elem : XML::Builder) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]