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
errorList
The
HyperwalletError
list. -
Creates an instance of HyperwalletErrors
Declaration
Swift
public init(errorList: [HyperwalletError], originalError: Error?)
Parameters
errorList
The
HyperwalletError
list.originalError
The original error.