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

RoundingWell / care-ops-frontend / e6b9bc56-451c-4c55-9c6d-ace1973d270a

31 Jul 2026 11:04AM UTC coverage: 97.014% (-3.0%) from 100.0%
e6b9bc56-451c-4c55-9c6d-ace1973d270a

Pull #1748

circleci

paulfalgout
feat(flows): use canonical flow creation endpoint
Pull Request #1748: feat(flows): use canonical flow creation endpoint

1829 of 1927 branches covered (94.91%)

Branch coverage included in aggregate %.

6065 of 6210 relevant lines covered (97.67%)

259.29 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/js/utils/handle-errors.js
1
import { isError } from 'underscore';
2

3
export default async function handleErrors(error) {
4
  if (isError(error)) throw error;
2!
5

6
  if (error.response) {
2!
7
    const status = error.response.status;
2✔
8
    const { errors } = error.responseData;
2✔
9
    /* istanbul ignore next: can't get coverage on a throw */
10
    throw new Error(`Error Status: ${ status } - ${ JSON.stringify(errors) }`);
11
  }
12
  throw new Error(JSON.stringify(error));
×
13
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc