Files
kopia/tests/robustness/errors.go
Steve Joachim d2b816934c robustness: add tests for kopia server repos (#1029)
* Add error handling for robustness Checker
* robustness engine updates for concurrency
* add client-server utils for multiclient robustness
* create client package for robustness tests
* create multi-client robustness test framework
* multi-client robustness test definitions
* update robustness test runner scripts
* Address unparam lint errors

Co-authored-by: Julio Lopez <julio+gh@kasten.io>
2021-04-29 21:45:13 -07:00

30 lines
909 B
Go

// +build darwin,amd64 linux,amd64
package robustness
import (
"errors"
"fmt"
)
var (
// ErrNoOp is thrown when an action could not do anything useful.
ErrNoOp = fmt.Errorf("no-op")
// ErrCannotPerformIO is returned if the engine determines there is not enough space
// to write files.
ErrCannotPerformIO = fmt.Errorf("cannot perform i/o")
// ErrNoActionPicked is returned if a random action could not be selected.
ErrNoActionPicked = errors.New("unable to pick an action with the action control options provided")
// ErrInvalidOption is returned if an option value is invalid or missing.
ErrInvalidOption = errors.New("invalid option setting")
// ErrKeyNotFound is returned when the store can't find the key provided.
ErrKeyNotFound = errors.New("key not found")
// ErrMetadataMissing is returned when the metadata can't be found.
ErrMetadataMissing = errors.New("metadata missing")
)