forked from lavina/lavina
26 lines
518 B
Rust
26 lines
518 B
Rust
|
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,
|
||
|
}
|