envoid/internal/errors/invalid_password.go
Sagi Dayan dec2da64de
Some checks failed
ci/ci / Check for spelling errors (pull_request) Successful in 28s
ci/ci / Code quality (pull_request) Failing after 58s
ci/ci / Make sure build does not fail (pull_request) Failing after 15m47s
ci/ci / notify-fail (pull_request) Has been cancelled
Added lint to the CI. formatted all code accordingly
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-12-16 22:51:34 +02:00

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{}
}