Skip to main content

Module capabilities

Module capabilities 

Source
Expand description

Durable capability names and the typed refusal for a missing capability.

The names are the PersistenceLayer::supports_* flag names, so the capability matrix keys and the capability field of a refusal use one vocabulary.

Constants§

CAPABILITY_UNSUPPORTED
Stable error code returned to HTTP clients when the active store lacks a durable capability an operation needs.
CHANNEL_OBSERVERS
DURABLE_ACCOUNTING
DURABLE_AGENT_INSTANCES
DURABLE_COLLABORATION_CATALOG
Follow-up and schedule rules live in the collaboration catalog, which has no durable form on the in-memory backend.
DURABLE_OBSERVERS

Functions§

refusal_body
JSON error envelope for a capability refusal: {"error":{"code":"capability_unsupported","capability":"<name>"}}.