提交 00902e9c 编写于 作者: C CyrusNajmabadi

Include more detail in error messages.

上级 e24398a2
......@@ -277,6 +277,8 @@ public void Throw(Result result)
=> Throw(_handle, result);
public static void Throw(sqlite3 handle, Result result)
=> throw new SqlException(result, raw.sqlite3_errmsg(handle));
=> throw new SqlException(result,
raw.sqlite3_errmsg(handle) + "\r\n" +
raw.sqlite3_errstr(raw.sqlite3_extended_errcode(handle)));
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册