Expand description
Refusal and ending codes. The provider sends them as the code of an
error body; see Refusal.
Constants§
- CANCELLED
- Subscription ending after the caller’s own Cancel. The provider may send it as the last frame, and the daemon may drop it because the caller asked to stop. A reader treats it, after its own Cancel, as the normal end.
- CURSOR_
EXPIRED - Read:
afteris older than the feed holds. The detail carriesthrough, the newest cursor. - DRAINING
- Subscribe: the provider is stopping.
- INVALID_
REQUEST - Read:
limitis 0, orafteris not a cursor the provider issued. Read and subscribe: the request namesharnesswithoutsession, orsessionwithoutharness. - LAGGED
- Subscription ending: the subscriber fell behind its queue bound. The
detail carries
through, the last notified cursor. - MALFORMED
- The request did not decode, or it carries an unknown member.
- NOT_
PERMITTED - The caller is not an admitted reader (a local same-user app, or the operator’s phone relayed by the federation module).
- RANGE_
TOO_ LARGE - Read:
limitis abovecrate::MAX_READ_LIMIT. - READ_
REFUSALS - Every code that refuses a read.
- SUBSCRIBE_
ENDINGS - Every code that ends an open subscription with an error.
- SUBSCRIBE_
REFUSALS - Every code that refuses opening a subscription.
- SUBSCRIPTION_
CAPACITY - Subscribe: more than 16 subscriptions would be open.