module AzuCLI::Config::ErrorCategory

Overview

Error categories for better error classification

Defined in:

azu_cli/config.cr

Constant Summary

BUILD_FAILED = "build_failed"
COMPILATION_FAILED = "compilation_failed"

Compilation and build errors

CONFIG_ERROR = "config_error"

Configuration errors

CONNECTION_FAILED = "connection_failed"
DATABASE_ERROR = "database_error"

Database errors

FILE_EXISTS = "file_exists"
FILE_NOT_FOUND = "file_not_found"

File system errors

INVALID_CONFIG = "invalid_config"
INVALID_INPUT = "invalid_input"

User input errors

INVALID_OPTION = "invalid_option"
IO_ERROR = "io_error"
MIGRATION_FAILED = "migration_failed"
MISSING_ARGUMENT = "missing_argument"
MISSING_CONFIG = "missing_config"
PERMISSION_DENIED = "permission_denied"
RESOURCE_ERROR = "resource_error"
RUNTIME_ERROR = "runtime_error"

Runtime errors

SYNTAX_ERROR = "syntax_error"
TIMEOUT = "timeout"
UNKNOWN = "unknown"

General