mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
11 lines
302 B
Swift
11 lines
302 B
Swift
//TODO: make this not an enum
|
|
public enum IORingError: Error, Equatable {
|
|
case missingRequiredFeatures
|
|
case operationCanceled
|
|
case unknown(errorCode: Int)
|
|
|
|
internal init(completionResult: Int32) {
|
|
self = .unknown(errorCode: Int(completionResult)) //TODO, flesh this out
|
|
}
|
|
}
|