# 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 the `mcp login` CLI
handlers (`run_mcp_login`, `run_mcp_login_list`); 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/1425cf0b7c5e88bff8735778af82cf5c90564085/libs/code/deepagents_code/mcp_login_service.py#L27)