Skip to content

config

Error handler configuration.

Classes:

Classes

ErrorHandlerConfig dataclass

Python
ErrorHandlerConfig(
    message_format: str = DEFAULT_ERROR_MESSAGE,
    detail_extractor: ErrorDetailExtractor | None = None,
    log_level: str = "INFO",
    send_to_sentry: bool = True,
    send_embed: bool = True,
    suggest_similar_commands: bool = True,
    include_usage: bool = True,
)

Functions