ESPError

public protocol ESPError : Error

Error types returned by ESPProvision conforms to ‘ESPError’ protocol. It encompasses additional information which may be used for gaining additional information about an error.

  • Returns description of an error

    Declaration

    Swift

    var description: String { get }
  • Returns unique code associated with an error

    Declaration

    Swift

    var code: Int { get }