Documentation
¶
Overview ¶
Package errs is the Stage-1 namespace for error context enrichment, grouping, learning, patterns, and recovery. See ../REFACTOR_PLAN.md.
Named "errs" (not "error") to avoid shadowing the builtin error type.
Index ¶
- func ExtractPattern(msg string) string
- func FormatError(e *EnrichedError) string
- func NormalizeError(msg string) string
- type EnrichedError
- type ErrorContext
- type ErrorGroup
- type ErrorGrouper
- type ErrorHelp
- type ErrorInstance
- type ErrorLearner
- type ErrorLearnerStats
- type ErrorPattern
- type ErrorPatternDB
- type ErrorRecovery
- type LearnedPattern
- type RecoveryAttempt
- type RecoveryContext
- type RecoveryResult
- type RecoveryStrategy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPattern ¶
func FormatError ¶
func FormatError(e *EnrichedError) string
func NormalizeError ¶
Types ¶
type EnrichedError ¶
type EnrichedError = engine.EnrichedError
type ErrorContext ¶
type ErrorContext = engine.ErrorContext
func NewErrorContext ¶
func NewErrorContext() *ErrorContext
type ErrorGroup ¶
type ErrorGroup = engine.ErrorGroup
type ErrorGrouper ¶
type ErrorGrouper = engine.ErrorGrouper
func NewErrorGrouper ¶
func NewErrorGrouper() *ErrorGrouper
type ErrorInstance ¶
type ErrorInstance = engine.ErrorInstance
type ErrorLearner ¶
type ErrorLearner = engine.ErrorLearner
func NewErrorLearner ¶
func NewErrorLearner() *ErrorLearner
type ErrorLearnerStats ¶
type ErrorLearnerStats = engine.ErrorLearnerStats
type ErrorPattern ¶
type ErrorPattern = engine.ErrorPattern
type ErrorPatternDB ¶
type ErrorPatternDB = engine.ErrorPatternDB
func NewErrorPatternDB ¶
func NewErrorPatternDB() *ErrorPatternDB
type ErrorRecovery ¶
type ErrorRecovery = engine.ErrorRecovery
func NewErrorRecovery ¶
func NewErrorRecovery() *ErrorRecovery
type LearnedPattern ¶
type LearnedPattern = engine.LearnedPattern
type RecoveryAttempt ¶
type RecoveryAttempt = engine.RecoveryAttempt
type RecoveryContext ¶
type RecoveryContext = engine.RecoveryContext
type RecoveryResult ¶
type RecoveryResult = engine.RecoveryResult
type RecoveryStrategy ¶
type RecoveryStrategy = engine.RecoveryStrategy
Click to show internal directories.
Click to hide internal directories.