1package consts
2
3import "errors"
4
5var (
6	// ErrSealed is returned if an operation is performed on a sealed barrier.
7	// No operation is expected to succeed before unsealing
8	ErrSealed = errors.New("Vault is sealed")
9
10	// ErrStandby is returned if an operation is performed on a standby Vault.
11	// No operation is expected to succeed until active.
12	ErrStandby = errors.New("Vault is in standby mode")
13
14	// ErrPathContainsParentReferences is returned when a path contains parent
15	// references.
16	ErrPathContainsParentReferences = errors.New("path cannot contain parent references")
17
18	// ErrInvalidWrappingToken is returned when checking for the validity of
19	// a wrapping token that turns out to be invalid.
20	ErrInvalidWrappingToken = errors.New("wrapping token is not valid or does not exist")
21)
22