[Tarantool-patches] [PATCH 4/5] error: provide MP_ERROR extension serializer
Alexander Turenko
alexander.turenko at tarantool.org
Tue May 19 14:51:51 MSK 2020
> + const char *field_to_key[MP_ERROR_MAX] = {
> + /* MP_ERROR_TYPE = */ "\"type\": ",
> + /* MP_ERROR_FILE = */ "\"file\": ",
> + /* MP_ERROR_LINE = */ "\"line\": ",
> + /* MP_ERROR_MESSAGE = */ "\"message\": ",
> + /* MP_ERROR_ERRNO = */ "\"errno\": ",
> + /* MP_ERROR_CODE = */ "\"code\": ",
> + /* MP_ERROR_FIELDS = */ "\"fields\": ",
> + };
Should be static?
More information about the Tarantool-patches
mailing list