# ErrorCode

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/exceptions/ErrorCode)

Error codes.

## Signature

```python
ErrorCode()
```

## Extends

- `Enum`

## Properties

- `INVALID_PROMPT_INPUT`
- `INVALID_TOOL_RESULTS`
- `MESSAGE_COERCION_FAILURE`
- `MODEL_AUTHENTICATION`
- `MODEL_NOT_FOUND`
- `MODEL_RATE_LIMIT`
- `OUTPUT_PARSING_FAILURE`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/c59e83a1ffba63d709ea4847445845edd82085dc/libs/core/langchain_core/exceptions.py#L76)