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

svrooij / node-sonos-ts / 7815886195

07 Feb 2024 01:55PM UTC coverage: 32.574% (-48.4%) from 80.966%
7815886195

Pull #187

github

web-flow
Merge 466220f87 into fa60a2e90
Pull Request #187: Removing old `fast-xml-parser` in favor of `@rgrove/parse-xml`

312 of 1123 branches covered (0.0%)

Branch coverage included in aggregate %.

45 of 76 new or added lines in 8 files covered. (59.21%)

950 existing lines in 32 files now uncovered.

732 of 2082 relevant lines covered (35.16%)

4.86 hits per line

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

25.0
/src/models/http-error.ts
1
/**
2
 * The sonos device will throw this error if it receives a non-ok status code.
3
 *
4
 * @export
5
 * @class HttpError
6
 * @extends {Error}
7
 */
8
export default class HttpError extends Error {
13✔
UNCOV
9
  constructor(public readonly Action: string, public HttpStatusCode: number, public HttpStatusText?: string) {
×
UNCOV
10
    super(`Http status ${HttpStatusCode} (${HttpStatusText})`);
×
UNCOV
11
    this.name = 'HttpError';
×
12
  }
13
}
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