Skip to main content

Class: UnreadableCellValueError

Defined in: model/errors.ts:870

code: 'unreadable-value' — the built-in cell editor's control read no value back from the text it holds, so nothing was written and the editor stayed open (#234). A parseValue that refused the text is the usual cause; a date control with no date in it is the other.

Never thrown: the editor raises it as the cause of its own Error report, the way MutationCancelledError carries the refused ChangeSet for data/transaction.ts. It exists so that the Field key and the text the user typed reach a consumer as readonly members, rather than spliced into a message a consumer would have to parse.

Extends​

Constructors​

Constructor​

new UnreadableCellValueError(entryId, field, text): UnreadableCellValueError

Defined in: model/errors.ts:877

Parameters​

entryId​

EntryId

field​

FieldKey

text​

string | undefined

Returns​

UnreadableCellValueError

Overrides​

FreeGanttError.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:104

Inherited from​

FreeGanttError.code


entryId​

readonly entryId: EntryId

Defined in: model/errors.ts:871


field​

readonly field: FieldKey

Defined in: model/errors.ts:872


text​

readonly text: string | undefined

Defined in: model/errors.ts:875

What the control held. undefined when the control keeps no text of its own — a date control reads a date or nothing, and has no string to hand over.