Search Apps Documentation Source Content File Folder Download Copy Actions Download

errors.gno

0.79 Kb ยท 14 lines
 1package timelock
 2
 3import "errors"
 4
 5var (
 6	ErrNilTimestampsOrAccessControl = errors.New("timelock: timestamps and accesscontrol values must be different from nil")
 7	ErrInsufficientDelay            = errors.New("timelockutil: Schedule: insufficient delay")
 8	ErrOperationAlreadyScheduled    = errors.New("timelockutil: Schedule: operation already scheduled")
 9	ErrOperationNotPending          = errors.New("timelock: operation not pending")
10	ErrUnexpectedType               = errors.New("timelockutil: GetTimestamp: unexpected type")
11	ErrUpadateDelay                 = errors.New("timelock: UpdateDelay: only admin can update delay")
12	ErrOperationCancelNotPending    = errors.New("timelock: Cancel: operation not pending")
13	ErrOperationExecuteNotPending   = errors.New("timelock: Execute: operation not pending")
14)