Expand description
Error classification and formatting for user-facing error display.
Maps scylla driver error types to Python cqlsh-compatible error names and strips verbose driver boilerplate to produce clean messages.
Structsยง
- Classified
Error - Classified error with category and cleaned message.
Enumsยง
- Error
Category - Error categories matching Python cqlsh error display names.
Functionsยง
- categorize_
db_ ๐error - classify_
attempt_ ๐error - classify_
error - Classify an anyhow error by walking the chain to find a DbError.
- classify_
execution_ ๐error - classify_
request_ ๐error - clean_
db_ ๐message - Clean the reason string from a DbError, stripping driver boilerplate.
- format_
error - Format a classified error for display matching Python cqlsh output.
- format_
error_ colored - Format a classified error with optional color (red bold when enabled).