# KeyHandlerError · FT4 TypeScript client · Chromia Docs (concept)

> Thrown to indicate that something went wrong when trying
to invoke an operation on a KeyHandler . Hierarchy Error KeyHandlerError Constructors constructor 

Source: https://docs.chromia.com/pages/ft4-ts-client/classes/authentication.KeyHandlerError/

Class

# KeyHandlerError

On this page

* [Constructors](#constructors)
* [constructor](#constructor)

Thrown to indicate that something went wrong when trying
to invoke an operation on a `KeyHandler`.

#### Hierarchy

* Error
  + KeyHandlerError

## Constructors

### constructor

* ```signature
  new KeyHandlerError(msg?: string): KeyHandlerError
  ```

  #### Parameters

  + `Optional`msg: string

  #### Returns [KeyHandlerError](https://docs.chromia.com/pages/ft4-ts-client/classes/authentication.KeyHandlerError/)

  Overrides Error.constructor

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/classes/authentication.KeyHandlerError.html)Generated API reference, mirrored from the live docs
