HyperwalletErrors
public struct HyperwalletErrors : Decodable
Representation of the Hyperwallet error list
-
The error list
Declaration
Swift
public private(set) var errorList: [HyperwalletError]? { get } -
The original error
Declaration
Swift
public private(set) var originalError: Error? { get } -
The CodingKeys for Hyperwallet errors
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey -
Creates an instance of HyperwalletErrors
Declaration
Swift
public init(errorList: [HyperwalletError])Parameters
errorListThe
HyperwalletErrorlist. -
Creates an instance of HyperwalletErrors
Declaration
Swift
public init(errorList: [HyperwalletError], originalError: Error?)Parameters
errorListThe
HyperwalletErrorlist.originalErrorThe original error.
View on GitHub