Retab
Report cephes error Lua-style

Make use of a C variable to pass both the error and the message,
and check for them in the wrapper.