mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
13 lines
355 B
Swift
13 lines
355 B
Swift
extension Ghostty {
|
|
/// Possible errors from internal Ghostty calls.
|
|
enum Error: Swift.Error, CustomLocalizedStringResourceConvertible {
|
|
case apiFailed
|
|
|
|
var localizedStringResource: LocalizedStringResource {
|
|
switch self {
|
|
case .apiFailed: return "libghostty API call failed"
|
|
}
|
|
}
|
|
}
|
|
}
|