Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedErrorHandlerType = errors.New("error handler type unsupported")
)
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler interface { Execute(ctx heimdall.Context, err error) (bool, error) WithConfig(config map[string]any) (ErrorHandler, error) }
func CreateErrorHandlerPrototype ¶
func CreateErrorHandlerPrototype( id string, typ config.PipelineObjectType, config map[string]any, ) (ErrorHandler, error)
type ErrorHandlerTypeFactory ¶
type ErrorHandlerTypeFactory func(id string, t config.PipelineObjectType, c map[string]any) (bool, ErrorHandler, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.