13 lines
257 B
Go
13 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{}
|
||
|
}
|