• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 8553433723 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2024 11:02AM UTC
Files 513
Run time 24s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Apr 2024 10:52AM UTC coverage: 87.031% (+0.006%) from 87.025%
8553433723.1

push

github

locker
box: add payload info for client error codes

So that error details are added as error payload. Now client don't need
to parse error message to get details.

box/error.test is changed to pass checkpatch. It is reported 'bla bla'
as possibly repeated word.

Closes #9108
Closes #6166

@TarantoolBot document
Title: Provide error details through payload fields
Product: Tarantool
Since: 3.1

Now Tarantool error details are available as payload fields (which
in turn can be accessed as error object fields). For example:

```
tarantool> e = box.error.new(box.error.SPACE_EXISTS, 'some space')
tarantool> e.message
---
- Space 'some space' already exists
...
tarantool> e.space
---
- some space
...
```

One can introspect the details using `error:unpack()`:

tarantool> e:unpack()
---
- space: some space
  code: 10
  base_type: ClientError
  type: ClientError
  message: Space 'some space' already exists
  trace:
  - file: '[string "e = box.error.new(box.error.SPACE_EXISTS, ''so..."]'
    line: 1
...

67203 of 119597 branches covered (56.19%)

99860 of 114741 relevant lines covered (87.03%)

2453786.76 hits per line

Source Files on job 8553433723.1
  • Tree
  • List 0
  • Changed 430
  • Source Changed 0
  • Coverage Changed 48
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8553433723
  • 7410a4f0 on github
  • Prev Job for on master (#8552364544.1)
  • Next Job for on master (#8554935828.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc