# CellError

## Constructors

### constructor

\+ **new CellError**(`type`: [ErrorType](hyperformulans.md#static-errortype), `message?`: undefined | string, `root?`: FormulaVertex): *[CellError](cellerror.md)*

*Defined in [hyperformula/src/Cell.ts:152](https://github.com/handsontable/hyperformula/blob/69b6274/hyperformula/src/Cell.ts#L152)*

**Parameters:**

Name | Type |
------ | ------ |
`type` | [ErrorType](hyperformulans.md#static-errortype) |
`message?` | undefined &#124; string |
`root?` | FormulaVertex |

**Returns:** *[CellError](cellerror.md)*

## Properties

### message

• **message**? : *undefined | string*

*Defined in [hyperformula/src/Cell.ts:155](https://github.com/handsontable/hyperformula/blob/69b6274/hyperformula/src/Cell.ts#L155)*

___

### root

• **root**? : *FormulaVertex*

*Defined in [hyperformula/src/Cell.ts:156](https://github.com/handsontable/hyperformula/blob/69b6274/hyperformula/src/Cell.ts#L156)*

___

### type

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

*Defined in [hyperformula/src/Cell.ts:154](https://github.com/handsontable/hyperformula/blob/69b6274/hyperformula/src/Cell.ts#L154)*

## Methods

### attachRootVertex

▸ **attachRootVertex**(`vertex`: FormulaVertex): *[CellError](cellerror.md)*

*Defined in [hyperformula/src/Cell.ts:168](https://github.com/handsontable/hyperformula/blob/69b6274/hyperformula/src/Cell.ts#L168)*

**Parameters:**

Name | Type |
------ | ------ |
`vertex` | FormulaVertex |

**Returns:** *[CellError](cellerror.md)*

___

### parsingError

▸ **parsingError**(`detailedMessage?`: undefined | string): *[CellError](cellerror.md)*

*Defined in [hyperformula/src/Cell.ts:164](https://github.com/handsontable/hyperformula/blob/69b6274/hyperformula/src/Cell.ts#L164)*

Returns a CellError with a given message.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`detailedMessage?` | undefined &#124; string | message to be displayed  |

**Returns:** *[CellError](cellerror.md)*