The operation couldn’t be completed. (SQLite.Result error 0.)

163 Views Asked by At

I am running into sporadic issues in production with SQLite.Swift where calls return the following SQLite.Result: "The operation couldn’t be completed. (SQLite.Result error 0.)".

A quick web search shows that others have been encountering that specific error as well.

Looking at the source of Result: https://github.com/stephencelis/SQLite.swift/blob/master/Sources/SQLite/Core/Result.swift

How is it possible that such an error gets thrown? The initializer returns nil if the errorCode is 0 (aka SQLITE_OK). What am I missing there?

0

There are 0 best solutions below