Type Alias: SortGovernanceErrorCode
@kortexya/reasoninglayer / SortGovernanceErrorCode
Type Alias: SortGovernanceErrorCode
Section titled “Type Alias: SortGovernanceErrorCode”SortGovernanceErrorCode =
"sort_governed_by_release"|"vocabulary_unavailable"
Defined in: src/types/sorts.ts:2557
The code of a sort write refused because the sort is governed by the
tenant’s active vocabulary release.
Remarks
Section titled “Remarks”Every sort write door answers it: the REST sort routes (create, patch,
rename, move, delete), OSFQL (as error_type, see OsfqlErrorType), RDF
ingest, ontology import, the signed webhook and the property-graph route.
Bulk creation reports it per entry as BulkSortErrorKind
sort_governed_by_release.
sort_governed_by_release(409) — the write changes the declaration of a sort the active release declares. Change it through a governed vocabulary candidate. A new subsort, unchanged ancestors and lexical edits are admitted.vocabulary_unavailable(503) — the governed sorts could not be read, so the write was not admitted. Retry it.
Read the code with errorBodyCode(error).
Example
Section titled “Example”const code: SortGovernanceErrorCode = 'sort_governed_by_release';