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

share / sharedb / 1126 / 3
97%
master: 97%

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

13 Sep 2019 11:24AM UTC coverage: 95.983%. Remained the same
1126.3

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

151.06 hits per line

Source Files on job 1126.3
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1089
  • Travis Job 1126.3
  • 12ad4a8b on github
  • Prev Job for on error-codes (#1124.2)
  • Next Job for on error-codes (#1130.2)
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