Skip to content

Type Alias: SortGovernanceErrorCode

@kortexya/reasoninglayer


@kortexya/reasoninglayer / 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.

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).

const code: SortGovernanceErrorCode = 'sort_governed_by_release';