// NewErrComplex returns an error with the ErrComplex ID. func NewErrComplex(ctx *context.T, first ComplexErrorParam, second string, third int32) error { return verror.New(ErrComplex, ctx, first, second, third) }
// NewErrNoFortunes returns an error with the ErrNoFortunes ID. func NewErrNoFortunes(ctx *context.T) error { return verror.New(ErrNoFortunes, ctx) }
// NewErrInvalidLockName returns an error with the ErrInvalidLockName ID. func NewErrInvalidLockName(ctx *context.T, name string, reason string) error { return verror.New(ErrInvalidLockName, ctx, name, reason) }
// NewErrKeyRejected returns an error with the ErrKeyRejected ID. func NewErrKeyRejected(ctx *context.T, key string, lock string) error { return verror.New(ErrKeyRejected, ctx, key, lock) }
// NewErrLockAlreadyClaimed returns an error with the ErrLockAlreadyClaimed ID. func NewErrLockAlreadyClaimed(ctx *context.T) error { return verror.New(ErrLockAlreadyClaimed, ctx) }