github.com/cloudfoundry/cli@v7.1.0+incompatible/command/translatableerror/password_verification_failed_error.go (about)

     1  package translatableerror
     2  
     3  type PasswordVerificationFailedError struct{}
     4  
     5  func (PasswordVerificationFailedError) Error() string {
     6  	return "Password verification does not match."
     7  }
     8  
     9  func (e PasswordVerificationFailedError) Translate(translate func(string, ...interface{}) string) string {
    10  	return translate(e.Error())
    11  }