Skip to content
Snippets Groups Projects
Commit 8f0eeb45 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

gh-676: Propagate C++ exceptions through Lua using cdata objects

 * Add FFI bindings to `struct error`
 * Raise `struct error` from lbox_error(L) using lua_error(L)
 * Catch `struct error` in lbox_call() and update diagnostics
 * Move lbox_error() and lbox_call() to src/lua/utils.c
 * Update most places to use lbox_error(L) to raise C++ exception into Lua
 * Prepare to remove pcall wrapper in Tarantool 1.7
parent 294498ca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment