PWGen/pwgenerator/errs.go

14 lines
583 B
Go
Raw Normal View History

2022-03-02 06:24:55 -05:00
package pwgenerator
import (
"errors"
)
var (
ErrBadType error = errors.New("cannot typeswitch; unsupported type")
2022-03-04 01:17:10 -05:00
ErrEmptyCharsets error = errors.New("empty character set/no character sets selected")
ErrIncompatCharsetFilter error = errors.New("the selected minimum requirements are not possible with selected/enabled charsets")
ErrSwitchedLenLimits error = errors.New("the max password length is shorter than the minimum password length")
ErrTooSmall error = errors.New("password max length too short for specified required chars")
2022-03-02 06:24:55 -05:00
)