Change error from Swift.Error to NSError

This commit is contained in:
nythepegasus
2024-05-06 02:35:20 -04:00
committed by ny
parent 83ece72ae1
commit 459e378522

View File

@@ -91,7 +91,7 @@ public extension LoggedError
return app
}
var error: Error {
var error: NSError {
let nsError = NSError(domain: self.domain, code: Int(self.code), userInfo: self.userInfo)
return nsError
}