parent
0688ae03f7
commit
a42ece16fa
@ -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…
Reference in new issue