2020-07-29 07:58:19 -04:00
|
|
|
package password
|
|
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
|
|
var (
|
2020-07-31 11:18:41 -04:00
|
|
|
// ErrTooShort results from attempting to set a password which is to
|
|
|
|
|
// short.
|
|
|
|
|
ErrTooShort = errors.New("password to short")
|
|
|
|
|
|
2020-07-29 07:58:19 -04:00
|
|
|
// ErrUnsupportedConfiguration results from attempting to perform an
|
|
|
|
|
// operation that sets a password configuration to an unsupported type.
|
|
|
|
|
ErrUnsupportedConfiguration = errors.New("unsupported configuration")
|
|
|
|
|
|
|
|
|
|
// ErrInvalidConfiguration results from attempting to perform an
|
|
|
|
|
// operation that sets a password configuration with invalid settings.
|
|
|
|
|
ErrInvalidConfiguration = errors.New("invalid configuration")
|
|
|
|
|
)
|