envoid/internal/errors/invalid_password.go

12 lines
255 B
Go
Raw Normal View History

package errors
type InvalidPasswordError struct{}
func (e *InvalidPasswordError) Error() string {
return "invalid password. is your environment set correctly?"
}
func NewInvalidPasswordError() *InvalidPasswordError {
return &InvalidPasswordError{}
}