Skip to content

Type Alias: BulkSortErrorKind

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BulkSortErrorKind

BulkSortErrorKind = "reserved_name" | "unreadable_name" | "unbound_prefix" | "non_canonical_prefix" | "unsatisfiable_declaration" | "unknown_type_hint" | "unresolved_parent" | "unbound_relation" | "amendment_refused"

Defined in: src/types/sorts.ts:685

What went wrong with one entry of a bulk sort creation.

Read this rather than matching on BulkSortError.error. The message is human-facing and its wording is not a contract; before this enum existed a caller had no structural way to ask whether the SORT was refused or only one of its features left unbound, and the two need opposite handling.

Prefer BulkSortError.sortCreated when all you need is that question — it is the engine’s own derivation, so a kind added in a later release classifies itself without a change here.