diff --git a/Trust/Settings/Types/SendInputErrors.swift b/Trust/Settings/Types/SendInputErrors.swift new file mode 100644 index 000000000..e3dc945d9 --- /dev/null +++ b/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: "") + } + } +}