aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 479161a..2c77465 100644
--- a/errors.go
+++ b/errors.go
@@ -71,6 +71,7 @@ var (
errGeneratingIV = cookieError{typ: internalError, msg: "failed to generate random iv"}
errNoCodecs = cookieError{typ: usageError, msg: "no codecs provided"}
+ errInvalidKey = cookieError{typ: usageError, msg: "no key was provided"}
errHashKeyNotSet = cookieError{typ: usageError, msg: "hash key is not set"}
errBlockKeyNotSet = cookieError{typ: usageError, msg: "block key is not set"}
errEncodedValueTooLong = cookieError{typ: usageError, msg: "the value is too long"}