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

RoundingWell / care-ops-frontend / f4948647-16d0-492a-860c-40509ea98468

31 Jul 2026 02:02PM UTC coverage: 96.989% (-3.0%) from 100.0%
f4948647-16d0-492a-860c-40509ea98468

push

circleci

web-flow
Merge pull request #1748 from RoundingWell/feature/fe-184-migrate-patient-flow-creation-to-post-flows

feat(flows): use canonical flow creation endpoint

1828 of 1927 branches covered (94.86%)

Branch coverage included in aggregate %.

6064 of 6210 relevant lines covered (97.65%)

258.74 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