# DetailedCellError

## Constructors

### constructor 

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

*Defined in [src/CellValue.ts:25](https://github.com/handsontable/hyperformula/blob/915ca17/src/CellValue.ts#L25)*

**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:30](https://github.com/handsontable/hyperformula/blob/915ca17/src/CellValue.ts#L30)*

___

### hasMessage

• **hasMessage**: *boolean*

*Defined in [src/CellValue.ts:25](https://github.com/handsontable/hyperformula/blob/915ca17/src/CellValue.ts#L25)*

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

• **message**: *string*

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

___

### type

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

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

___

### value

• **value**: *string*

*Defined in [src/CellValue.ts:29](https://github.com/handsontable/hyperformula/blob/915ca17/src/CellValue.ts#L29)*

## Methods

### toString 

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

*Defined in [src/CellValue.ts:37](https://github.com/handsontable/hyperformula/blob/915ca17/src/CellValue.ts#L37)*

**Returns:** *string*

___

### valueOf 

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

*Defined in [src/CellValue.ts:41](https://github.com/handsontable/hyperformula/blob/915ca17/src/CellValue.ts#L41)*

**Returns:** *string*