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

telefonicaid / fiware-data-access / 21861732286

10 Feb 2026 10:45AM UTC coverage: 70.58% (+70.6%) from 0.0%
21861732286

push

github

web-flow
Merge pull request #73 from telefonicaid/fix/coverag_tests

fix coverage tests using nyc and c8

59 of 75 branches covered (78.67%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

178 existing lines in 8 files now uncovered.

963 of 1373 relevant lines covered (70.14%)

0.93 hits per line

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

77.78
/lib/fdaError.js
1
// Copyright 2025 Telefónica Soluciones de Informática y Comunicaciones de España, S.A.U.
1✔
2
// PROJECT: fiware-data-access
1✔
3
//
1✔
4
// This software and / or computer program has been developed by Telefónica Soluciones
1✔
5
// de Informática y Comunicaciones de España, S.A.U (hereinafter TSOL) and is protected
1✔
6
// as copyright by the applicable legislation on intellectual property.
1✔
7
//
1✔
8
// It belongs to TSOL, and / or its licensors, the exclusive rights of reproduction,
1✔
9
// distribution, public communication and transformation, and any economic right on it,
1✔
10
// all without prejudice of the moral rights of the authors mentioned above. It is expressly
1✔
11
// forbidden to decompile, disassemble, reverse engineer, sublicense or otherwise transmit
1✔
12
// by any means, translate or create derivative works of the software and / or computer
1✔
13
// programs, and perform with respect to all or part of such programs, any type of exploitation.
1✔
14
//
1✔
15
// Any use of all or part of the software and / or computer program will require the
1✔
16
// express written consent of TSOL. In all cases, it will be necessary to make
1✔
17
// an express reference to TSOL ownership in the software and / or computer
1✔
18
// program.
1✔
19
//
1✔
20
// Non-fulfillment of the provisions set forth herein and, in general, any violation of
1✔
21
// the peaceful possession and ownership of these rights will be prosecuted by the means
1✔
22
// provided in both Spanish and international law. TSOL reserves any civil or
1✔
23
// criminal actions it may exercise to protect its rights.
1✔
24

1✔
25
export class FDAError extends Error {
1✔
26
  constructor(statusCode = 500, code = 'InternalServerError', message) {
1✔
27
    super(message);
×
UNCOV
28

×
29
    this.name = this.constructor.name;
×
30
    this.statusCode = statusCode;
×
31
    this.code = code;
×
UNCOV
32

×
33
    Error.captureStackTrace(this, this.constructor);
×
UNCOV
34
  }
×
35
}
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