2019-06-26 08:14:52 -07:00
|
|
|
package stanza
|
2019-06-22 02:13:33 -07:00
|
|
|
|
|
|
|
// ErrorType is a Enum of error attribute type
|
|
|
|
type ErrorType string
|
|
|
|
|
|
|
|
// RFC 6120: part of A.5 Client Namespace and A.6 Server Namespace
|
|
|
|
const (
|
|
|
|
ErrorTypeAuth ErrorType = "auth"
|
|
|
|
ErrorTypeCancel ErrorType = "cancel"
|
|
|
|
ErrorTypeContinue ErrorType = "continue"
|
2019-06-26 07:21:18 -07:00
|
|
|
ErrorTypeModify ErrorType = "modify"
|
2019-06-22 02:13:33 -07:00
|
|
|
ErrorTypeWait ErrorType = "wait"
|
|
|
|
)
|