This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2018-02-14 18:49:26 +01:00
|
|
|
package xmpp
|
2018-02-13 20:05:18 +01:00
|
|
|
|
|
|
|
import "encoding/xml"
|
|
|
|
|
2018-02-14 18:49:26 +01:00
|
|
|
// ErrorClient implements RFC 6120 - A.5 Client Namespace (a part)
|
2018-02-13 20:05:18 +01:00
|
|
|
type ErrorClient struct {
|
|
|
|
XMLName xml.Name `xml:"jabber:client error"`
|
|
|
|
Code string `xml:"code,attr,omitempty"`
|
|
|
|
Type ErrorType `xml:"type,attr"` // required
|
|
|
|
Text *Text
|
|
|
|
|
2018-02-22 03:12:07 +01:00
|
|
|
StanzaErrorGroup // RFC 6120: A.8 Resource binding namespace
|
2018-02-13 20:05:18 +01:00
|
|
|
|
|
|
|
// Any hasn't matched element
|
|
|
|
Other []XMLElement `xml:",any"`
|
|
|
|
}
|