GiniErrorProtocol

public protocol GiniErrorProtocol

Protocol representing errors that can occur while interacting with the Gini API.

The protocol defines three properties:

  • message: A message describing the error.
  • response: The HTTPURLResponse received in the error, if any.
  • data: The data received in the error, if any.
  • Undocumented

    Declaration

    Swift

    var message: String { get }
  • Undocumented

    Declaration

    Swift

    var response: HTTPURLResponse? { get }
  • Undocumented

    Declaration

    Swift

    var data: Data? { get }