我尝试在Xcode中开发SwiftyDB SQLite应用程序。在安装pod之后显示以下错误:
抛出表达式类型'错误'不确认'错误'
代码:
static func verifyResultCode(_ resultCode: Int32, forHandle handle: OpaquePointer) throws {
guard isSuccess(resultCode) else {
throw Error(rawValue: resultCode)! // error showing here
}
}