Interface: BulkSortError
@kortexya/reasoninglayer / BulkSortError
Interface: BulkSortError
Section titled “Interface: BulkSortError”Defined in: src/types/sorts.ts:737
Error detail for a single sort in a bulk creation request.
Properties
Section titled “Properties”error:
string
Defined in: src/types/sorts.ts:754
Human-facing explanation. Renderable as-is; not a stable contract.
kind:
BulkSortErrorKind
Defined in: src/types/sorts.ts:741
What went wrong, typed. Read this rather than matching on error.
name:
string
Defined in: src/types/sorts.ts:739
Sort name that failed, as the request spelled it.
sortCreated
Section titled “sortCreated”sortCreated:
boolean
Defined in: src/types/sorts.ts:752
Whether the sort itself was created.
Remarks
Section titled “Remarks”true for unbound_relation (a created sort with one untyped feature)
and for amendment_refused (a sort that existed before and is still
there): the sort is in the lattice. Treating that as a failed sort hides a
concept the engine holds. Carried on the wire by the engine so a client
need not enumerate BulkSortErrorKind to classify a new one.