//
//  APIErrorResponse.swift
//  Anzee
//
//  Created by Shawn Veader on 4/23/19.
//  Copyright 2019 The Rocket Science Group LLC
//
//    Licensed under the Mailchimp Mobile SDK License Agreement (the "License");
//    you may not use this file except in compliance with the License. Unless
//    required by applicable law or agreed to in writing, software distributed
//    under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
//    OR CONDITIONS OF ANY KIND, either or express or implied.
//
//    See the License for the specific language governing permissions and
//    limitations under the License.
//

import Foundation

/// Basic struct to parse any possible API error responses
public struct APIErrorResponse: Codable {
    public let status: Int
    public let type: String
    public let detail: String
}
