forked from lavina/lavina
1
0
Fork 0
lavina/crates/proto-xmpp/src/stanzaerror.rs

26 lines
518 B
Rust
Raw Normal View History

2023-03-07 13:56:31 +00:00
pub enum StanzaError {
BadRequest,
Conflict,
FeatureNotImplemented,
Forbidden,
Gone(String),
InternalServerError,
ItemNotFound,
JidMalformed,
NotAcceptable,
NotAllowed,
NotAuthorized,
PaymentRequired,
PolicyViolation,
RecipientUnavailable,
Redirect(String),
RegistrationRequired,
RemoteServerNotFound,
RemoteServerTimeout,
ResourceConstraint,
ServiceUnavailable,
SubscriptionRequired,
UndefinedCondition,
UnexpectedRequest,
}