2022-03-02 06:24:55 -05:00
|
|
|
package pwgenerator
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2022-03-04 01:04:14 -05:00
|
|
|
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")
|
2022-03-04 01:04:14 -05:00
|
|
|
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
|
|
|
)
|