11 lines
255 B
Go
11 lines
255 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{}
|
|
}
|