envoid/internal/errors/invalid_password.go
Sagi Dayan 9774b4b5d0
Some checks failed
CI / check for spelling errors (pull_request) Successful in 21s
CI / code quality (lint/tests) (pull_request) Failing after 19s
CI / make sure build does not fail (pull_request) Has been skipped
CI / notify-fail (pull_request) Successful in 14s
Added lint to the CI. formatted all code accordingly
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-12-17 12:50:16 +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{}
}