Remove YAML parsing error

This commit is contained in:
Danny Moesch 2018-11-14 21:04:26 +01:00 committed by Bob Sun
parent 1f5eaa8bce
commit 60c509dba0

View file

@ -16,7 +16,6 @@ public enum AppError: Error {
case GitResetError
case PGPPublicKeyNotExistError
case WrongPasswordFilename
case YamlLoadError
case DecryptionError
case UnknownError
}
@ -38,8 +37,6 @@ extension AppError: LocalizedError {
return "PGP public key doesn't exist."
case .WrongPasswordFilename:
return "Cannot write to the password file."
case .YamlLoadError:
return "Cannot be parsed as a YAML file."
case .DecryptionError:
return "Cannot decrypt password."
case .UnknownError: