NetworkError.swift 372 Bytes
Newer Older
domenicw's avatar
domenicw committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
//  NetworkError.swift
//  Amiv
//
//  Created by Domenic Wüthrich on 23.09.18.
//  Copyright © 2018 Amiv an der ETH. All rights reserved.
//

import Foundation

public enum NetworkError: String, Error {
    
    case missingParameters = "Parameter were missing."
    case encodingFailed = "Parameter encoding failed."
    case missingURL = "URL was missing."
    
}