2017-02-16 20:15:02 +00:00
|
|
|
package consts
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
var (
|
|
|
|
// ErrSealed is returned if an operation is performed on a sealed barrier.
|
|
|
|
// No operation is expected to succeed before unsealing
|
|
|
|
ErrSealed = errors.New("Vault is sealed")
|
|
|
|
|
|
|
|
// ErrStandby is returned if an operation is performed on a standby Vault.
|
|
|
|
// No operation is expected to succeed until active.
|
|
|
|
ErrStandby = errors.New("Vault is in standby mode")
|
2017-05-12 17:52:33 +00:00
|
|
|
|
|
|
|
// Used when .. is used in a path
|
|
|
|
ErrPathContainsParentReferences = errors.New("path cannot contain parent references")
|
2017-02-16 20:15:02 +00:00
|
|
|
)
|