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

ialopezg / corejs / #5

03 Nov 2023 08:38PM UTC coverage: 42.153% (-47.5%) from 89.623%
#5

push

ialopezg
feat: add microservice feature

10 of 84 branches covered (0.0%)

Branch coverage included in aggregate %.

49 of 77 new or added lines in 20 files covered. (63.64%)

155 existing lines in 21 files now uncovered.

221 of 464 relevant lines covered (47.63%)

0.51 hits per line

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

20.0
/src/errors/exceptions/runtime.exception.ts
1
/**
2
 * Defines the error base for all exceptions in this namespace.
3
 */
4
export declare class Error {
5
  /**
6
   * Error name.
7
   */
8
  public name: string;
9
  /**
10
   * Error message.
11
   */
12
  public message: string;
13
  /**
14
   * Error stack trace.
15
   */
16
  public stack: string;
17

18
  /**
19
   * Creates a new instances of Error class.
20
   * @param message Error message.
21
   */
22
  constructor(message?: string);
23
}
24

25
/**
26
 * Defines a base or runtime error.
27
 */
28
export class RuntimeException extends Error {
1✔
29
  /**
30
   * Creates a new instance.
31
   *
32
   * @param {string} _message Error message.
33
   */
UNCOV
34
  constructor(private readonly _message: string = '') {
×
UNCOV
35
    super(_message);
×
36
  }
37

38
  /**
39
   * Gets the error message that represents this instance.
40
   *
41
   * @returns {string} The representative error message.
42
   */
43
  getMessage(): string {
UNCOV
44
    return this._message;
×
45
  }
46
}
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