# AliasAlreadyExisting

Error thrown when alias to a function is already defined.

**`see`** [registerFunctionPlugin](hyperformula.md#static-registerfunctionplugin)

**`see`** [registerFunction](hyperformula.md#static-registerfunction)

## Constructors

### constructor 

\+ **new AliasAlreadyExisting**(`name`: string, `pluginName`: string): *[AliasAlreadyExisting](aliasalreadyexisting.md)*

*Defined in [src/errors.ts:392](https://github.com/handsontable/hyperformula/blob/187dfa1/src/errors.ts#L392)*

**Parameters:**

Name | Type |
------ | ------ |
`name` | string |
`pluginName` | string |

**Returns:** *[AliasAlreadyExisting](aliasalreadyexisting.md)*

## Properties

### message 

• **message**: *string*

___

### name 

• **name**: *string*

___

### stack

• **stack**? : *undefined | string*

___

### Error

▪ **Error**: *ErrorConstructor*