mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-12 16:55:39 +00:00
9 lines
294 B
Go
9 lines
294 B
Go
package tasks
|
|
|
|
import "errors"
|
|
|
|
// ErrTaskCancelled signals that the task is beign cancelled gracefully.
|
|
// This error is handled by marking the task as user cancelled.
|
|
// By default a task returning an error will be marked as failed otherwise.
|
|
var ErrTaskCancelled = errors.New("cancel task")
|