aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-wasm.c
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-08-12 13:07:21 +0000
committerstephan <stephan@noemail.net>2022-08-12 13:07:21 +0000
commite1c34624844134521f2485a81ab52a78b554a824 (patch)
tree416e35ba73c277c0393cc48092d261959f59314a /ext/wasm/api/sqlite3-wasm.c
parente6d1650c5b9571e734bb00a3dd73e3f3b7f7e3c9 (diff)
downloadsqlite-e1c34624844134521f2485a81ab52a78b554a824.tar.gz
sqlite-e1c34624844134521f2485a81ab52a78b554a824.zip
wasm: document the role of sqlite3-wasm.c. Other minor doc updates.
FossilOrigin-Name: 4c10b9b18feca82440273f8192fef951ad051bbfd8aad4d3c840cf6375130afd
Diffstat (limited to 'ext/wasm/api/sqlite3-wasm.c')
-rw-r--r--ext/wasm/api/sqlite3-wasm.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c
index 506eaf66e..6a81da3e5 100644
--- a/ext/wasm/api/sqlite3-wasm.c
+++ b/ext/wasm/api/sqlite3-wasm.c
@@ -6,10 +6,11 @@
**
** For purposes of certain hand-crafted C/Wasm function bindings, we
** need a way of reporting errors which is consistent with the rest of
-** the C API. To that end, this internal-use-only function is a thin
-** proxy around sqlite3ErrorWithMessage(). The intent is that it only
-** be used from Wasm bindings such as sqlite3_prepare_v2/v3(), and
-** definitely not from client code.
+** the C API, as opposed to throwing JS exceptions. To that end, this
+** internal-use-only function is a thin proxy around
+** sqlite3ErrorWithMessage(). The intent is that it only be used from
+** Wasm bindings such as sqlite3_prepare_v2/v3(), and definitely not
+** from client code.
**
** Returns err_code.
*/