# ProtectedFunctionTranslationError

Error thrown when trying to override protected translation.

**`see`** [registerLanguage](hyperformula.md#static-registerlanguage)

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

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

## Constructors

### constructor 

\+ **new ProtectedFunctionTranslationError**(`key`: string): *[ProtectedFunctionTranslationError](protectedfunctiontranslationerror.md)*

*Defined in [src/errors.ts:279](https://github.com/handsontable/hyperformula/blob/b8542ec/src/errors.ts#L279)*

**Parameters:**

Name | Type |
------ | ------ |
`key` | string |

**Returns:** *[ProtectedFunctionTranslationError](protectedfunctiontranslationerror.md)*

## Properties

### message 

• **message**: *string*

___

### name 

• **name**: *string*

___

### stack

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

___

### Error

▪ **Error**: *ErrorConstructor*