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

share / sharedb / 1126
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 13 Sep 2019 11:26AM UTC
Jobs 3
Files 28
Run time 19s
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

pending completion
1126

push

travis-ci

Alec Gibson
Replace numeric error codes with strings

Fixes https://github.com/share/sharedb/issues/287
Fixes https://github.com/share/sharedb/issues/198

This is a breaking change that moves us from using numeric error codes
to string-based codes [similar to Node][1].

The motivation for this is:

  - more descriptive error codes
  - stop implying that errors can be broadly classified together (in the
    same way that HTTP errors might)

This change also exposes these codes on `ShareDBError.code`, so that
they are easily discoverable, and can be referenced by consumers for
programmatic error handling.

[1]: https://nodejs.org/api/errors.html#nodejs-error-codes

1166 of 1394 branches covered (83.64%)

2509 of 2614 relevant lines covered (95.98%)

453.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1126.1 13 Sep 2019 11:26AM UTC 0
95.98
Travis Job 1126.1
2 1126.2 13 Sep 2019 11:26AM UTC 0
95.98
Travis Job 1126.2
3 1126.3 13 Sep 2019 11:26AM UTC 0
95.98
Travis Job 1126.3
Source Files on build 1126
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1126
  • 12ad4a8b on github
  • Prev Build on error-codes (#1124)
  • Next Build on error-codes (#1130)
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