[Tarantool-patches] [PATCH vshard 1/7] test: print errors in a portable way

Oleg Babin olegrok at tarantool.org
Mon May 4 17:26:16 MSK 2020


Thanks for answers and explanation. LGTM.


On 02/05/2020 23:08, Vladislav Shpilevoy wrote:
> Hi! Thanks for the review!
> 
>> On 01/05/2020 03:16, Vladislav Shpilevoy wrote:
>>>    +-- Portable representation of an error, not depending on Tarantool
>>> +-- version and on any additional fields it can add. Trace is also
>>> +-- trimmed in order for the tests not to depend on line numbers of
>>> +-- the source files, which may slip into a .result file.
>>> +local function portable_error(err)
>>> +    return {code = err.code, type = err.type, message = err.message}
>>> +end
>>



More information about the Tarantool-patches mailing list