# EvalError

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/smith/evaluation/runner_utils/EvalError)

Your architecture raised an error.

## Signature

```python
EvalError(
    self,
    Error: BaseException,
    **kwargs: Any = {},
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `Error` | `BaseException` | Yes | The error that occurred. |
| `**kwargs` | `Any` | No | Additional attributes to include in the error. (default: `{}`) |

## Extends

- `dict`

## Constructors

```python
__init__(
    self,
    Error: BaseException,
    **kwargs: Any = {},
) -> None
```

| Name | Type |
|------|------|
| `Error` | `BaseException` |


---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/8fec4e7ceee2c368b068c49f9fed453276e210e7/libs/langchain/langchain_classic/smith/evaluation/runner_utils.py#L152)