MCPcopy
hub / github.com/sagikazarmark/modern-go-application / ErrorHandler

Interface ErrorHandler

internal/common/error_handler.go:8–11  ·  view source on GitHub ↗

ErrorHandler handles an error.

Source from the content-addressed store, hash-verified

6
7// ErrorHandler handles an error.
8type ErrorHandler interface {
9 // Handle handles an error.
10 Handle(ctx context.Context, err error)
11}
12
13type noopErrorHandler struct{}
14

Callers 4

CreateTodoMethod · 0.65
MarkTodoAsDoneMethod · 0.65
TodosMethod · 0.65
mainFunction · 0.65

Implementers 2

MarkedAsDoneEventHandlerinternal/app/mga/todo/todogen/MarkedAs
noopErrorHandlerinternal/common/error_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected