TestReturnError
public struct TestReturnError : Codable, Equatable, TDFunction
Returns the specified error and ensures that the Error object is used; for testing only. This is an offline method. Can be called before authorization. Can be called synchronously
-
Undocumented
Declaration
Swift
public typealias Result = Error -
The error to be returned
Declaration
Swift
public let error: Error -
Returns the specified error and ensures that the Error object is used; for testing only. This is an offline method. Can be called before authorization. Can be called synchronously
Declaration
Swift
public init(error: Error)Parameters
errorThe error to be returned
View on GitHub
Install in Dash
TestReturnError Structure Reference