# DetailedCellError Class

# Constructors

# constructor

+ new DetailedCellError(error: CellError, value: string, address?: undefined | string): DetailedCellError

Defined in src/CellValue.ts:23 (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:28 (opens new window)


# hasMessage Readonly

hasMessage: boolean

Defined in src/CellValue.ts:23 (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 produced by HyperFormula itself always carry one — a false here means the error came from a custom function that did not supply a message.


# 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:27 (opens new window)

# Methods

# toString

toString(): string

Defined in src/CellValue.ts:35 (opens new window)

Returns: string


# valueOf

valueOf(): string

Defined in src/CellValue.ts:39 (opens new window)

Returns: string