MCPcopy Create free account
hub / github.com/Shopify/ghostferry / ErrorHandler

Interface ErrorHandler

error_handler.go:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type ErrorHandler interface {
12 // Usually called from Fatal. When called from Fatal, if this method returns
13 // true, Fatal should panic, otherwise it should not.
14 ReportError(from string, err error)
15 Fatal(from string, err error)
16}
17
18type PanicErrorHandler struct {
19 Ferry *Ferry

Callers 11

mainFunction · 0.65
InitializeMethod · 0.65
defaultEventHandlerMethod · 0.65
RunMethod · 0.65
FlushAndStopMethod · 0.65
RunMethod · 0.65
RunMethod · 0.65
StartCutoverMethod · 0.65
ReportErrorMethod · 0.95

Implementers 2

PanicErrorHandlererror_handler.go
ErrorHandlertesthelpers/error_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected