You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: passphrase/errors.go
+2-1
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ import (
7
7
8
8
var (
9
9
ErrDictionaryTooSmall=errors.New(fmt.Sprintf("dictionary cannot have less than %d words after word-length restrictions are applied", MinWordsInDictionary))
10
-
ErrNumWordsInvalid=errors.New(fmt.Sprintf("number of words cannot be less than %d", MinNumWords))
10
+
ErrNumWordsTooSmall=errors.New(fmt.Sprintf("number of words cannot be less than %d", NumWordsMin))
11
+
ErrNumWordsTooLarge=errors.New(fmt.Sprintf("number of words cannot be more than %d", NumWordsMax))
0 commit comments