mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-29 19:41:01 +00:00
12 lines
226 B
Swift
12 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 }
|
||
|
}
|