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

> Error thrown if an asset is instantiated with an invalid URL. Hierarchy Error InvalidUrlError Constructors constructor new InvalidUrlError(message?: string

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

Class

# InvalidUrlError

On this page

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

Error thrown if an asset is instantiated with an invalid URL.

#### Hierarchy

* Error
  + InvalidUrlError

## Constructors

### constructor

* ```signature
  new InvalidUrlError(message?: string): InvalidUrlError
  ```

  #### Parameters

  + `Optional`message: string

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

  Overrides Error.constructor

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