From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: kostja@tarantool.org
Subject: [tarantool-patches] Re: [PATCH v3 1/4] error: introduce error rebulding API
Date: Wed, 16 May 2018 20:06:44 +0300 [thread overview]
Message-ID: <adc3f033-599d-119e-6772-5e0ef0c75774@tarantool.org> (raw)
In-Reply-To: <e6737ea776afd9eaf7e322b0a959c7bdf1c857c5.1526414017.git.v.shpilevoy@tarantool.org>
The patch is removed.
On 15/05/2018 22:54, Vladislav Shpilevoy wrote:
> Some of modules are out of box library and returns their custom
> or common errors like SocketError, IllegalParams erc. But when
> the core code is used in the box library, some of errors must be
> converted into another errors. For example, it would be useful to
> be able to transform IllegalParams into ClientError.
>
> The patch introduces diag_reset, that takes new error type and
> custom arguments depending on the type. An error, that must be
> available for rebuilding must have Rebuild<error_name> method,
> that takes old error object, and custom arguments.
> ---
> src/box/error.cc | 27 +++++++++++++++++++++++++++
> src/box/error.h | 5 +++++
> src/diag.h | 9 +++++++++
> 3 files changed, 41 insertions(+)
>
next prev parent reply other threads:[~2018-05-16 17:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-15 19:54 [tarantool-patches] [PATCH v3 0/4] Lua utf8 module Vladislav Shpilevoy
2018-05-15 19:54 ` [tarantool-patches] [PATCH v3 1/4] error: introduce error rebulding API Vladislav Shpilevoy
2018-05-16 17:06 ` Vladislav Shpilevoy [this message]
2018-05-15 19:54 ` [tarantool-patches] [PATCH v3 2/4] collation: split collation into core and box objects Vladislav Shpilevoy
2018-05-16 17:07 ` [tarantool-patches] " Vladislav Shpilevoy
2018-05-16 17:17 ` Konstantin Osipov
2018-05-16 17:19 ` Vladislav Shpilevoy
2018-05-17 19:23 ` Vladislav Shpilevoy
2018-05-15 19:54 ` [tarantool-patches] [PATCH v3 3/4] collation: introduce collation fingerprint Vladislav Shpilevoy
2018-05-17 19:24 ` [tarantool-patches] " Vladislav Shpilevoy
2018-05-15 19:54 ` [tarantool-patches] [PATCH v3 4/4] lua: introduce utf8 built-in globaly visible module Vladislav Shpilevoy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=adc3f033-599d-119e-6772-5e0ef0c75774@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=kostja@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH v3 1/4] error: introduce error rebulding API' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox