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

# autogen.InvalidCarryOverTypeError

<h2 id="autogen.InvalidCarryOverTypeError" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">InvalidCarryOverTypeError</span>
</h2>

```python theme={null}
InvalidCarryOverTypeError(message: str = 'Carryover should be a string or a list of strings. Not adding carryover to the message.')
```

Exception raised when the carryover type is invalid.

<b>Parameters:</b>

| Name      | Description                                                                                                                     |
| --------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `message` | **Type:** str<br /><br />**Default:** 'Carryover should be a string or a list of strings. Not adding carryover to the message.' |
