> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# InvalidArgumentError

This Error indicates an incorrect type or value was passed to a function or method.

## Extends

* [`quaisError`](/sdk/content/interfaces/quaisError)\<`"INVALID_ARGUMENT"`>

## Properties

| Property       | Type                                               | Description                                                            | Inherited from                                                    |
| :------------- | :------------------------------------------------- | :--------------------------------------------------------------------- | :---------------------------------------------------------------- |
| `argument`     | `string`                                           | The name of the argument.                                              | -                                                                 |
| `code`         | [`ErrorCode`](/sdk/content/type-aliases/ErrorCode) | The string error code.                                                 | [`quaisError`](/sdk/content/interfaces/quaisError).`code`         |
| `error?`       | `Error`                                            | Any related error.                                                     | [`quaisError`](/sdk/content/interfaces/quaisError).`error`        |
| `shortMessage` | `string`                                           | A short message describing the error, with minimal additional details. | [`quaisError`](/sdk/content/interfaces/quaisError).`shortMessage` |
| `value`        | `any`                                              | The value that was provided.                                           | -                                                                 |
