1
0
Fork 0
mirror of https://github.com/metabolist/metatext.git synced 2025-02-18 23:15:13 +00:00
metatext/Shared/Model/MastodonError.swift
2020-07-31 00:13:54 -07:00

11 lines
226 B
Swift

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