# DetailedCellError

## Constructors

### constructor 

\+ **new DetailedCellError**(`error`: [CellError](cellerror.md), `value`: string, `address?`: undefined | string): *[DetailedCellError](detailedcellerror.md)*

*Defined in [src/CellValue.ts:23](https://github.com/handsontable/hyperformula/blob/5ed0aec/src/CellValue.ts#L23)*

**Parameters:**

Name | Type |
------ | ------ |
`error` | [CellError](cellerror.md) |
`value` | string |
`address?` | undefined &#124; string |

**Returns:** *[DetailedCellError](detailedcellerror.md)*

## Properties

### address

• **address**? : *undefined | string*

*Defined in [src/CellValue.ts:28](https://github.com/handsontable/hyperformula/blob/5ed0aec/src/CellValue.ts#L28)*

___

### hasMessage

• **hasMessage**: *boolean*

*Defined in [src/CellValue.ts:23](https://github.com/handsontable/hyperformula/blob/5ed0aec/src/CellValue.ts#L23)*

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

• **message**: *string*

*Defined in [src/CellValue.ts:13](https://github.com/handsontable/hyperformula/blob/5ed0aec/src/CellValue.ts#L13)*

___

### type

• **type**: *[ErrorType](hyperformulans.md#static-errortype)*

*Defined in [src/CellValue.ts:12](https://github.com/handsontable/hyperformula/blob/5ed0aec/src/CellValue.ts#L12)*

___

### value

• **value**: *string*

*Defined in [src/CellValue.ts:27](https://github.com/handsontable/hyperformula/blob/5ed0aec/src/CellValue.ts#L27)*

## Methods

### toString 

▸ **toString**(): *string*

*Defined in [src/CellValue.ts:35](https://github.com/handsontable/hyperformula/blob/5ed0aec/src/CellValue.ts#L35)*

**Returns:** *string*

___

### valueOf 

▸ **valueOf**(): *string*

*Defined in [src/CellValue.ts:39](https://github.com/handsontable/hyperformula/blob/5ed0aec/src/CellValue.ts#L39)*

**Returns:** *string*