JeidError
public enum JeidError : CustomStringConvertible, CustomNSError, LocalizedError
-
デコードに失敗しました
- message: エラーメッセージ
Declaration
Swift
case decodeFailed(message: String)
-
エンコードに失敗しました
- message: エラーメッセージ
Declaration
Swift
case encodeFailed(message: String)
-
ファイルがありません
- message: エラーメッセージ
Declaration
Swift
case fileNotFound(message: String)
-
鍵が無効です
- message: エラーメッセージ
Declaration
Swift
case invalidKey(message: String)
-
暗証番号が無効です
- counter: カウンタ
Declaration
Swift
case invalidPin(counter: Int)
-
セキュリティステータスが満たされていません
Declaration
Swift
case securityStatusNotSatisfied
-
署名検証に失敗しました
- message: エラーメッセージ
Declaration
Swift
case signatureVerificationFailed(message: String)
-
送受信に失敗しました
- message: エラーメッセージ
Declaration
Swift
case transceiveFailed(message: String)
-
予期しない応答がありました
- response: 応答の内容
Declaration
Swift
case unexpectedResponse(response: Data)
-
サポートされていない操作です
- message: エラーメッセージ
Declaration
Swift
case unsupportedOperation(message: String)
-
説明を返します
Declaration
Swift
public var description: String { get }
-
暗証番号がブロックされているかどうかを返します
Note
invalidPinでない場合はnilが返りますDeclaration
Swift
public var isBlocked: Bool? { get }
Return Value
invalidPinの場合、暗証番号がブロックされているときtrue、ブロックされていないときfalse
-
A localized message describing what error occurred. (Objective-C用)
Declaration
Swift
public var errorDescription: String? { get }
-
The domain of the error. (Objective-C用)
Remark
“JeidError"が返ります。Declaration
Swift
public static var errorDomain: String { get }
-
The error code within the given domain. (Objective-C用)
Declaration
Swift
public var errorCode: Int { get }
-
The user-info directory. (Objective-C用)
Remark
引数を持つcaseの場合、[“引数名”: 値]の形で引数に渡した値を格納したDictionaryを返します。 引数を持たないcaseの場合、空のDictionaryを返します。Declaration
Swift
public var errorUserInfo: [String : Any] { get }