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

danielstocks / yak / 11 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2015 07:57PM UTC
Files 2
Run time 0s
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

28 Oct 2015 07:57PM UTC coverage: 97.826% (-2.2%) from 100.0%
11.1

push

travis-ci

danielstocks
Added improved error handling

1. You can now set a custom error handler that will handle
all cases of rejections in Yak promises.

```
yak.onError(function(error, status) {
  console.log("do something special!");
  return error;
});
```

Useful for handling generic cases when API is returning a 500 or 404
status for instance

2. Made sure that Yak only tries to parse JSON if the
content type returned is JSON, otherwise treat it as text.

45 of 46 relevant lines covered (97.83%)

1.8 hits per line

Source Files on job 11.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11
  • Travis Job 11.1
  • 04457097 on github
  • Prev Job for on master (#10.1)
  • Next Job for on master (#12.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