sqlite_wasm_rs::c

Function sqlite3_result_error

Source
pub unsafe fn sqlite3_result_error(
    ctx: *mut sqlite3_context,
    msg: *const c_char,
    msgLen: c_int,
)
Expand description

Cause the implemented SQL function to throw an exception.

SQLite uses the string pointed to by the 2nd parameter as the text of an error message.

See https://www.sqlite.org/c3ref/result_blob.html