Sagi Dayan
2ca1e7826a
Some checks failed
Codespell / Check for spelling errors (push) Failing after 1m35s
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{}
|
|
}
|