# DetailedCellError Class
# Constructors
# constructor
+ new DetailedCellError(error: CellError, value: string, address?: undefined | string): DetailedCellError
Defined in src/CellValue.ts:25 (opens new window)
Parameters:
| Name | Type |
|---|---|
error | CellError |
value | string |
address? | undefined | string |
Returns: DetailedCellError
# Properties
# address OptionalReadonly
• address? : undefined | string
Defined in src/CellValue.ts:30 (opens new window)
# hasMessage Readonly
• hasMessage: boolean
Defined in src/CellValue.ts:25 (opens new window)
Whether the underlying error carried a message at all.
message collapses "no message" and "an empty message" into ''; this flag
keeps them apart for consumers that need to know whether a cause was stated.
Errors the engine raises while evaluating a formula always carry a message. A
false here means nobody stated a cause: a custom function that did not supply
one, or an error value a user typed straight into a cell, where the cause is the
typing itself and originFunction says so.
# message Readonly
• message: string
Defined in src/CellValue.ts:13 (opens new window)
# type Readonly
• type: ErrorType
Defined in src/CellValue.ts:12 (opens new window)
# value Readonly
• value: string
Defined in src/CellValue.ts:29 (opens new window)
# Methods
# toString
▸ toString(): string
Defined in src/CellValue.ts:37 (opens new window)
Returns: string
# valueOf
▸ valueOf(): string
Defined in src/CellValue.ts:41 (opens new window)
Returns: string