Extract key importing logic and put it into separate class

This commit is contained in:
Danny Moesch 2019-06-29 23:09:24 +02:00 committed by Mingshen Sun
parent 47c9af0127
commit 7bee780b46
7 changed files with 148 additions and 36 deletions

View file

@ -6,7 +6,7 @@
// Copyright © 2017 Bob Sun. All rights reserved.
//
public enum AppError: Error {
public enum AppError: Error, Equatable {
case RepositoryNotSet
case RepositoryRemoteBranchNotFound(_: String)
case RepositoryBranchNotFound(_: String)