Add SendInputErrors

pull/2/head
Michael Scoff 7 years ago
parent 0688ae03f7
commit a42ece16fa
  1. 17
      Trust/Settings/Types/SendInputErrors.swift

@ -0,0 +1,17 @@
// Copyright SIX DAY LLC. All rights reserved.
import Foundation
enum SendInputErrors: LocalizedError {
case emptyClipBoard
case invalidAddress
var errorDescription: String? {
switch self {
case .emptyClipBoard:
return NSLocalizedString("send.emptyClipBoard", value: "Empty ClipBoard", comment: "")
case .invalidAddress:
return NSLocalizedString("send.invalidAddress", value: "Invalid Address", comment: "")
}
}
}
Loading…
Cancel
Save