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

gajus / slonik / 201
67%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v29.1.0
DEFAULT BRANCH: master
Ran 23 Oct 2018 12:38PM UTC
Jobs 1
Files 11
Run time 2s
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
201

push

travis-ci

gajus
feat: remove ability to customise errors

BREAKING CHANGE:

Removing ability to configure NotFoundError.

Instead use a helper function to check if error is of certain type, e.g.

```js
// @flow

import {
  NotFoundError as SlonikNotFoundError
} from 'slonik';
import {
  NotFoundError as LocalNotFoundError
} from '../types';

export default (error: Error) => {
  return error instanceof SlonikNotFoundError || error instanceof LocalNotFoundError;
};

```

82 of 128 branches covered (64.06%)

Branch coverage included in aggregate %.

207 of 306 relevant lines covered (67.65%)

4.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 201.1 23 Oct 2018 12:38PM UTC 0
66.59
Travis Job 201.1
Source Files on build 201
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #201
  • 9c5b8b38 on github
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