MKError

public struct MKError : Error

Subclass from Error to handle error from Patron API

  • Error code

    Declaration

    Swift

    public var code: Int
  • Error message to response

    Declaration

    Swift

    public var messageResponse: String?
  • Error message

    Declaration

    Swift

    public var message: String { get }
  • Default constructor

    Declaration

    Swift

    public init()
  • Constructor

    Declaration

    Swift

    public init(code: Int?, messageResponse: String?)