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

> Thrown to indicate that the user tried to supply
an invalid value when creating an amount. Hierarchy Error AmountInputError Constructors constructor new Am

Source: https://docs.chromia.com/pages/ft4-ts-client/classes/asset.AmountInputError/

Class

# AmountInputError

On this page

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

Thrown to indicate that the user tried to supply
an invalid value when creating an amount.

#### Hierarchy

* Error
  + AmountInputError

## Constructors

### constructor

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

  #### Parameters

  + `Optional`msg: string

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

  Overrides Error.constructor

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