generatedextracted from the source that raises it
E_GRANTS_UNAVAILABLE
A refusal that forwards the failure underneath it, raised in one place in kernel. What it says at runtime is the cause's sentence rather than one written in the source.
This code carries whatever went wrong beneath it — a parse error, a region that would not answer — so at runtime it does say something. What it says is the cause’s sentence rather than one written in the source, which is why there is none to quote.
- Specified in
spec/kernel/authority.md- Introduced by
- Intents: the only thing that writes
| File | Line |
|---|---|
packages/kernel/src/authority.ts | 136 |
Raised in the same package, or specified in the same document. A refusal rarely stands on its own — the ones beside it are usually the same rule seen from another angle:
| Code | What it says | Raised in |
|---|---|---|
E_CAPABILITY_UNGRANTABLE | … … required by an intent and granted by no role in weft.config.ts. Add … to a role, or stop declaring … | weft |
E_DELEGATE_DEPTH | this token was delegated … deep and this deployment accepts … | kernel |
E_DELEGATE_LONGER | the child would outlive its parent by …s | kernel |
E_GRANT_TOO_BROAD | … grants '…', which matches every capability and makes declaring one decorative. List the capabilities instead — the intent manifest knows the complete set, so a list is reviewable | kernel |
E_INTENT_EXPIRED | authenticate and try again | kernel |