MCPcopy Index your code
hub / github.com/riverqueue/river / CustomErrorHandler

Struct CustomErrorHandler

example_error_handler_test.go:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18)
19
20type CustomErrorHandler struct{}
21
22func (*CustomErrorHandler) HandleError(ctx context.Context, job *rivertype.JobRow, err error) *river.ErrorHandlerResult {
23 fmt.Printf("Job errored with: %s\n", err)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected