Skip to content
Snippets Groups Projects
Commit b004a20e authored by Nikolay Shirokovskiy's avatar Nikolay Shirokovskiy Committed by Vladimir Davydov
Browse files

box: prepare to encode client error args as payload

With new harness we can specify in 'errcode.h' for example

```c
	_(ER_TUPLE_NOT_FOUND, 4, "Tuple doesn't exist", "space", STRING, "index", STRING) \
```

and then on

```c
	diag_set(ClientError, ER_TUPLE_NOT_FOUND, "space A", "index B")
```

the error set will have payload fields "space" and "index" with
corresponding values.

Closes #9109

NO_CHANGELOG=internal
NO_DOC=internal
parent 68225fb9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment