Sagi Dayan
d5d1eecb89
Some checks failed
Codespell / Check for spelling errors (push) Failing after 1m26s
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
12 lines
257 B
Go
12 lines
257 B
Go
package errors
|
|
|
|
type InvalidPasswordError struct {
|
|
}
|
|
|
|
func (e *InvalidPasswordError) Error() string {
|
|
return "invalid password. is your environment set correctly?"
|
|
}
|
|
|
|
func NewInvalidPasswordError() *InvalidPasswordError {
|
|
return &InvalidPasswordError{}
|
|
}
|