TapSDKKnownError
@objcMembers
public final class TapSDKKnownError : TapSDKError
Known error. Either network or serialization error.
-
URL response (if received) which will help the developer to understand the issue.
Declaration
Swift
public private(set) var urlResponse: URLResponse?
-
Response body (if any).
Declaration
Swift
public private(set) var responseBody: Any?
-
Underlying error.
Declaration
Swift
public private(set) var error: Error?
-
Readable description of the error.
Declaration
Swift
public override var description: String { get }
-
Encodes the contents of the receiver.
Throws
EncodingErrorDeclaration
Swift
public override func encode(to encoder: Encoder) throws
Parameters
encoder
Encoder.