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

> Thrown to indicate that there was an error when trying to
register an account using a specific strategy. Hierarchy Error StrategyError Constructors constru

Source: https://docs.chromia.com/pages/ft4-ts-client/classes/registration.StrategyError/

Class

# StrategyError

On this page

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

Thrown to indicate that there was an error when trying to
register an account using a specific strategy.

#### Hierarchy

* Error
  + StrategyError

## Constructors

### constructor

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

  #### Parameters

  + `Optional`msg: string

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

  Overrides Error.constructor

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