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
field
text
string | undefined
Returns
UnreadableCellValueError
Overrides
Properties
code
readonlycode:ThrownCode
Defined in: model/errors.ts:104
Inherited from
entryId
readonlyentryId:EntryId
Defined in: model/errors.ts:871
field
readonlyfield:FieldKey
Defined in: model/errors.ts:872
text
readonlytext: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.