# CellError Class
# Constructors
# constructor
+ new CellError(type: ErrorType, message?: undefined | string, root?: FormulaVertex): CellError
Defined in src/Cell.ts:149 (opens new window)
Parameters:
| Name | Type |
|---|---|
type | ErrorType |
message? | undefined | string |
root? | FormulaVertex |
Returns: CellError
# Properties
# message OptionalReadonly
• message? : undefined | string
Defined in src/Cell.ts:152 (opens new window)
# root OptionalReadonly
• root? : FormulaVertex
Defined in src/Cell.ts:153 (opens new window)
# type Readonly
• type: ErrorType
Defined in src/Cell.ts:151 (opens new window)
# Methods
# attachRootVertex
▸ attachRootVertex(vertex: FormulaVertex): CellError
Defined in src/Cell.ts:165 (opens new window)
Parameters:
| Name | Type |
|---|---|
vertex | FormulaVertex |
Returns: CellError
# parsingError Static
▸ parsingError(detailedMessage?: undefined | string): CellError
Defined in src/Cell.ts:161 (opens new window)
Returns a CellError with a given message.
Parameters:
| Name | Type | Description |
|---|---|---|
detailedMessage? | undefined | string | message to be displayed |
Returns: CellError