config ¶
Error handler configuration.
Classes:
-
ErrorHandlerConfig–Configuration for handling a specific error type.
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,
)
Configuration for handling a specific error type.
Returned by: Used by: