Tusker/Pachyderm/Model/MastodonError.swift

18 lines
345 B
Swift
Raw Normal View History

2018-09-11 14:52:21 +00:00
//
// MastodonError.swift
// Pachyderm
//
// Created by Shadowfacts on 9/8/18.
// Copyright © 2018 Shadowfacts. All rights reserved.
//
import Foundation
struct MastodonError: Decodable, CustomStringConvertible {
var description: String
private enum CodingKeys: String, CodingKey {
case description = "error"
}
}