ErrorData
@objc public class ErrorData: NSObject
Data class containing an error code and an error message string.
-
The error code.
Declaration
Swift
public var code: Int -
The error message.
Declaration
Swift
public var msg: String -
Initializes the instance with the given values.
Declaration
Swift
required public init(code: Int, msg: String)Parameters
codeThe error code.
msgThe error message.
ErrorData Class Reference