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

nightlycommit / twing / 307

02 Jun 2025 09:53AM UTC coverage: 100.0%. Remained the same
307

push

gitlab-ci

Eric MORAND
Replace useless https protocol with http.

2541 of 2541 branches covered (100.0%)

Branch coverage included in aggregate %.

5851 of 5851 relevant lines covered (100.0%)

2499.09 hits per line

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

100.0
/src/main/lib/error.ts
1
import {TwingParsingError, parsingErrorName} from "./error/parsing";
2
import {TwingRuntimeError, runtimeErrorName} from "./error/runtime";
3

4
export type TwingError =
5
    | TwingRuntimeError
6
    | TwingParsingError
7
    ;
8

9
export const isATwingError = (candidate: Error): candidate is TwingError => {
1✔
10
    return [
231✔
11
        parsingErrorName,
12
        runtimeErrorName
13
    ].includes((candidate as TwingError).name);
14
};
15

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