Tusker/Pachyderm/Response/Response.swift

15 lines
269 B
Swift
Raw Permalink Normal View History

2018-09-11 14:52:21 +00:00
//
// Response.swift
// Pachyderm
//
// Created by Shadowfacts on 9/8/18.
// Copyright © 2018 Shadowfacts. All rights reserved.
//
import Foundation
public enum Response<Result: Decodable> {
case success(Result, Pagination?)
2020-09-09 22:33:59 +00:00
case failure(Client.Error)
2018-09-11 14:52:21 +00:00
}