MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / OnError

Method OnError

pkg/queue/task.go:63–63  ·  view source on GitHub ↗

OnError is called when the Task encounters an error

(err error, d time.Duration)

Source from the content-addressed store, hash-verified

61 OnPersisted(task *ent.Task)
62 // OnError is called when the Task encounters an error
63 OnError(err error, d time.Duration)
64 // OnRetry is called when the iteration returns error and before retry
65 OnRetry(err error)
66 // OnIterationComplete is called when the one iteration is completed

Callers 2

workMethod · 0.65
OnErrorMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected