From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 23 Apr 2018 19:20:10 +0300 From: Vladimir Davydov Subject: Re: [PATCH 2/8] lua: allow to create and error object with no throw Message-ID: <20180423162010.5k5uygn6nzvbecuk@esperanza> References: <4d84f99a409eb6e00371384adc1ad6cb0f70a659.1523903144.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4d84f99a409eb6e00371384adc1ad6cb0f70a659.1523903144.git.v.shpilevoy@tarantool.org> To: Vladislav Shpilevoy Cc: tarantool-patches@freelists.org List-ID: On Mon, Apr 16, 2018 at 09:39:12PM +0300, Vladislav Shpilevoy wrote: > It is needed to return error via 'nil, error_object' notation, > and to store an error object to return it later. > > Closes #3031 > --- > src/box/lua/error.cc | 15 +++++++++++++++ > test/box/misc.result | 25 +++++++++++++++++++++++++ > test/box/misc.test.lua | 10 ++++++++++ > 3 files changed, 50 insertions(+) Ack