Result

public enum Result<T>

Responsible for Edge closure responses

  • success case with associated generic object

    Declaration

    Swift

    case success(T)
  • failure case with associated object that implements Error protocol

    Declaration

    Swift

    case failure(HTTPError)