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

tarantool / tarantool / 8553433723
88%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2024 11:02AM UTC
Jobs 1
Files 513
Run time 285min
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

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%)

28 of 32 new or added lines in 13 files covered. (87.5%)

45 existing lines in 16 files now uncovered.

99860 of 114741 relevant lines covered (87.03%)

2453786.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8553433723.1 04 Apr 2024 11:02AM UTC 0
87.03
GitHub Action Run
Source Files on build 8553433723
Detailed source file information is not available for this build.
  • Back to Repo
  • 7410a4f0 on github
  • Prev Build on master (#8552364544)
  • Next Build on master (#8554935828)
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