1
0
mirror of https://github.com/metabolist/metatext synced 2024-12-24 08:50:51 +01:00
metatext-app-ios-iphone-ipad/Shared/Model/MastodonError.swift

12 lines
226 B
Swift
Raw Normal View History

// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
struct MastodonError: Error, Codable {
let error: String
}
extension MastodonError: LocalizedError {
var errorDescription: String? { error }
}