-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patherrors.go
More file actions
16 lines (14 loc) · 934 Bytes
/
errors.go
File metadata and controls
16 lines (14 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package envector
import "errors"
var (
ErrAddressRequired = errors.New("envector: ClientOptions.Address is required")
ErrClientClosed = errors.New("envector: client is closed")
ErrKeysRequired = errors.New("envector: IndexOptions.Keys is required for Insert")
ErrKeysAlreadyExist = errors.New("envector: key files already exist at path")
ErrKeysNotFound = errors.New("envector: key files not found at path")
ErrKeysNotForEncrypt = errors.New("envector: keys opened without KeyPartEnc cannot encrypt")
ErrKeysNotForDecrypt = errors.New("envector: keys opened without KeyPartSec cannot decrypt")
ErrKeysNotForRegister = errors.New("envector: keys opened without KeyPartEval have no eval key for register/activate")
ErrAlreadyExists = errors.New("envector: request_id already exists (operation already committed)")
ErrRequestIDTooLong = errors.New("envector: RequestID exceeds MaxRequestIDLength")
)