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

> Thrown to indicate an error with the number of decimals
with an amount. Could for example be that number of decimals
is too big, or that an operation is tr

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

Class

# AmountDecimalsError

On this page

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

Thrown to indicate an error with the number of decimals
with an amount. Could for example be that number of decimals
is too big, or that an operation is trying to be applied on two
amounts with different number of decimals.

#### Hierarchy

* Error
  + AmountDecimalsError

## Constructors

### constructor

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

  #### Parameters

  + `Optional`msg: string

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

  Overrides Error.constructor

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