pub enum Reason {
Show 15 variants
Hierarchy,
Probation,
Lockdown,
RequestIdReused,
AlreadyMember,
AlreadyHosted,
OwnerCannotLeave,
StaleRevision,
AlreadyBound,
LimitReached,
InvalidState,
Ceiling,
Publisher,
AlreadyInstalled,
DmsClosed,
}Expand description
FORBIDDEN and CONFLICT reasons (§11).
Variants§
Hierarchy
FORBIDDEN: a management-hierarchy check failed.
Probation
FORBIDDEN: newcomer restrictions (probation, waiting period).
Lockdown
FORBIDDEN: an emergency lockdown restriction.
RequestIdReused
CONFLICT: a request_id reused with another type or body (§7.3).
AlreadyMember
CONFLICT: already a member.
AlreadyHosted
CONFLICT: the community is already hosted.
OwnerCannotLeave
CONFLICT: the owner cannot leave.
StaleRevision
CONFLICT: a signed object’s revision is stale.
AlreadyBound
CONFLICT: the connection is already bound.
LimitReached
CONFLICT: a count limit was reached.
InvalidState
CONFLICT: the subject is in a state the command does not apply to (suspending a
pending member, restoring one that is not suspended, reviewing a closed report).
Ceiling
FORBIDDEN: grants beyond the operator’s ceiling or the manifest’s request (§8.13).
Publisher
FORBIDDEN: a bot update signed by another publisher (§8.13).
AlreadyInstalled
CONFLICT: the bot’s app_id is installed already (§8.13).
DmsClosed
FORBIDDEN: the member does not take direct messages from bots, or closed this one
(§8.15).