Files
crawlab/core/constants/errors.go
2024-10-20 16:55:57 +08:00

15 lines
337 B
Go

package constants
import (
"errors"
)
var (
ErrNotExists = errors.New("not exists")
ErrInvalidOptions = errors.New("invalid options")
ErrInvalidSignal = errors.New("invalid signal")
ErrTaskError = errors.New("task error")
ErrTaskLost = errors.New("task lost")
ErrTaskCancelled = errors.New("task cancelled")
)