Skip to main content

Module error

Module error 

Source
Expand description

Error handling and exit code management for CQLite CLI

This module defines standardized exit codes as specified in M2_CLI_SPEC.md and provides utilities for classifying errors and printing helpful messages.

Enums§

CliExitCode
CLI exit codes as specified in M2_CLI_SPEC.md line 340

Functions§

classify_error
Classify an error into appropriate exit code category
get_error_hint
Get context-aware hint based on error details and exit code
print_error
Print error with appropriate formatting and helpful hint