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
  • msg

    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

    code

    The error code.

    msg

    The error message.