From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7346624B7F for ; Wed, 16 May 2018 13:19:14 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6S4sJuTlnmmL for ; Wed, 16 May 2018 13:19:14 -0400 (EDT) Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [217.69.128.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 316F124B74 for ; Wed, 16 May 2018 13:19:13 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH v3 2/4] collation: split collation into core and box objects References: <20180516171706.GC24119@atlas> From: Vladislav Shpilevoy Message-ID: <953f5992-d70a-a3de-6df1-33e3447180f6@tarantool.org> Date: Wed, 16 May 2018 20:19:11 +0300 MIME-Version: 1.0 In-Reply-To: <20180516171706.GC24119@atlas> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org, Konstantin Osipov On 16/05/2018 20:17, Konstantin Osipov wrote: > * Vladislav Shpilevoy [18/05/16 20:10]: >> I added CollationError: > > Are there any other errors besides the failure to create a > collation? > No. Only OOM. > >> return ER_SYSTEM; >> + if (type_cast(CollationError, e)) >> + return ER_CANT_CREATE_COLLATION; >> return ER_PROC_LUA; >> } >> diff --git a/src/box/error.h b/src/box/error.h >