SQLite Forum

Improve sqlite3_column_name() return value documentation
Login
> Both the statement being NULL, and the column index being out-of-bounds, are very much basic cases of "Memory error".

I read "memory error" as "out of memory", and my post was based on that assumption. I'd say that out-of-bounds is a "value error" (programming error), not a "memory error" (read: "out of memory"). Ditto forĀ a NULL statement pointer. Others may disagree.