Skip to main content

Module errors

Module errors 

Source
Expand description

Stable error codes carried by client errors.

Every engine error message starts error <code>, optionally followed by details and a hint="...". Hosts map codes, never message text.

Functions§

code
The outermost stable error code in the chain.
codes
The stable error codes in the chain, outermost first.
has_code
is_access_refusal
The server refused this device’s credential or membership, which may mean another device removed it.
is_stale
The server saw an older membership head than its current one.
is_vault_deleted
The server reports this vault deleted for good: rerunning sync can’t recover it, and a new setup is required.