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

nightlycommit / twig-lexer / 26

23 Apr 2024 09:34AM UTC coverage: 100.0%. Remained the same
26

push

gitlab-ci

Eric MORAND
Imrpove the package README

192 of 192 branches covered (100.0%)

Branch coverage included in aggregate %.

372 of 372 relevant lines covered (100.0%)

587.03 hits per line

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

100.0
/src/main/lib/SyntaxError.ts
1
/**
2
 * @class
3
 */
4
export class SyntaxError extends Error {
1✔
5
    /**
6
     * The line where the error occurred.
7
     */
8
    readonly line: number;
9

10
    /**
11
     * The column where the error occurred.
12
     */
13
    readonly column: number;
14

15
    /**
16
     * @constructor
17
     * @param {string} message The error message
18
     * @param {number} line The line where the error occurred
19
     * @param {number} column The column where the error occurred
20
     */
21
    constructor(message: string, line: number, column: number) {
22
        super(message);
17✔
23

24
        this.name = 'SyntaxError';
17✔
25

26
        this.line = line;
17✔
27
        this.column = column;
17✔
28
    }
29
}
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