# ConfigErrorKind

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/mcp_login_service/ConfigErrorKind)

Discriminator for `ConfigResolutionError` reasons.

Only `NO_CONFIG_FOUND` maps to exit code 2 in `run_mcp_login`; all
other kinds map to exit code 1. The TUI surface translates them into
in-app status messages.

## Signature

```python
ConfigErrorKind()
```

## Extends

- `StrEnum`

## Properties

- `EXPLICIT_LOAD_FAILED`
- `NO_CONFIG_FOUND`
- `NO_USABLE_CONFIG`
- `UNKNOWN_SERVER`
- `INVALID_SERVER_CONFIG`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/mcp_login_service.py#L27)