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

nats-io / node-nats / 256
95%
master: 89%

Build:
Build:
LAST BUILD BRANCH: nats-server-rename
DEFAULT BRANCH: master
Ran 03 Dec 2016 06:44PM UTC
Jobs 4
Files 2
Run time 1min
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
256

push

travis-ci

aricart
[FIX] #104 - errors emmitted by the library are now errors and not strings.

All errors thrown/emitted now have codes that can be used for testing the type of error raised.
Errors emmitted by the library are now errors and not strings. In the case of connection
errors, the original error raised by the OS is surfaced.

If code depended on the value of the messages, you will have to update your code before upgrading to
the library. To aid in handing, the Error objects can be tested, but a more reliable
way is provided by the new constants (BAD_SUBJECT, BAD_MSG, BAD_REPLY, CONN_CLOSED, BAD_JSON,
BAD_AUTHENTICATION, INVALID_ENCODING, SECURE_CONN_REQ, NON_SECURE_CONN_REQ, CERT_REQ, NATS_PROTOCOL_ERR)

29 of 29 new or added lines in 1 file covered. (100.0%)

488 of 512 relevant lines covered (95.31%)

13161.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/nats.js
Jobs
ID Job ID Ran Files Coverage
1 256.1 03 Dec 2016 06:46PM UTC 0
95.31
Travis Job 256.1
2 256.2 03 Dec 2016 06:45PM UTC 0
94.53
Travis Job 256.2
3 256.3 03 Dec 2016 06:44PM UTC 0
95.31
Travis Job 256.3
4 256.4 03 Dec 2016 06:44PM UTC 0
95.31
Travis Job 256.4
Source Files on build 256
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #256
  • eb0fc2f2 on github
  • Prev Build on emit-error-and-error-codes (#255)
  • Next Build on emit-error-and-error-codes (#260)
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

© 2025 Coveralls, Inc