Versions in this module Expand all Collapse all v1 v1.23.14 Apr 4, 2026 v1.23.13 Mar 26, 2026 Changes in this version + type EnvironmentResolver interface + Getenv func(key string) string + type ErrorHandler interface + Handle func(ctx context.Context, err error, rule ErrorSuggestionRule) *ErrorWithSuggestion + func NewResourceNotAvailableHandler(locationResolver ResourceTypeLocationResolver, env EnvironmentResolver) ErrorHandler + type ErrorHandlerPipeline struct + func NewErrorHandlerPipeline(handlerResolver HandlerResolver) *ErrorHandlerPipeline + func (p *ErrorHandlerPipeline) Process(ctx context.Context, err error) *ErrorWithSuggestion + func (p *ErrorHandlerPipeline) ProcessWithRules(ctx context.Context, err error, rules []ErrorSuggestionRule) *ErrorWithSuggestion + type ErrorLink struct + Title string + URL string + type ErrorSuggestionRule struct + ErrorType string + Handler string + Links []RuleLink + Message string + Patterns []string + Properties map[string]string + Regex bool + Suggestion string + type ErrorSuggestionsConfig struct + Rules []ErrorSuggestionRule + type ErrorWithSuggestion struct + Err error + Links []ErrorLink + Message string + Suggestion string + func (es *ErrorWithSuggestion) Error() string + func (es *ErrorWithSuggestion) Unwrap() error + type HandlerResolver func(name string) (ErrorHandler, error) + type PatternMatcher struct + func NewPatternMatcher() *PatternMatcher + func (m *PatternMatcher) Match(errorMessage string, patterns []string, useRegex bool) bool + func (m *PatternMatcher) MatchSingle(value string, pattern string, useRegex bool) bool + type ResourceNotAvailableHandler struct + func (h *ResourceNotAvailableHandler) Handle(ctx context.Context, err error, rule ErrorSuggestionRule) *ErrorWithSuggestion + type ResourceTypeLocationResolver interface + GetLocations func(ctx context.Context, subscriptionID string, resourceType string) ([]string, error) + type RuleLink struct + Title string + URL string