> ## 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`](/cn/sdk/content/interfaces/quaisError)\<`"INVALID_ARGUMENT"`>

## Properties

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