18 lines
345 B
Swift
18 lines
345 B
Swift
|
//
|
||
|
// 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"
|
||
|
}
|
||
|
}
|