Sagi Dayan
693350fa49
All checks were successful
Codespell / Check for spelling errors (push) Successful in 23s
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{}
|
|
}
|