explain_exception
Explains what a common exception means and its three most common causes. Use it to see what to check first when a trace shows KeyError, NullPointerException, or similar errors.
Instructions
Explain a common exception type: what it means, its three most common causes, what to check first.
Covers about 80 exceptions across Python, Node, Java/Kotlin, Go, Rust and .NET (for example KeyError, ECONNREFUSED, NullPointerException, "concurrent map writes", "unwrap on None", NullReferenceException). Package prefixes are ignored (java.lang.NullPointerException = NullPointerException).
Args: type: Exception name or distinctive message, e.g. "KeyError", "java.lang.OutOfMemoryError", "nil pointer dereference". language: Optional: python, node, java, go, rust or dotnet. Omit to search all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |