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

NickTsitlakidis / event-nest / 12595541396

03 Jan 2025 09:23AM UTC coverage: 95.745% (-0.7%) from 96.477%
12595541396

Pull #43

github

web-flow
Merge dbaec0558 into 1cc900a3d
Pull Request #43: feat: Allow configuration of synchronous/asynchronous subscriptions

124 of 136 branches covered (91.18%)

Branch coverage included in aggregate %.

93 of 99 new or added lines in 4 files covered. (93.94%)

551 of 569 relevant lines covered (96.84%)

6.33 hits per line

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

62.5
/libs/core/src/lib/exceptions/subscription-exception.ts
1
export class SubscriptionException extends Error {
2✔
2
    private readonly _caughtError: Error;
3
    private readonly _eventClassName: string;
4
    private readonly _eventId: string;
5

6
    constructor(caughtError: Error, eventClassName: string, eventId: string) {
7
        super(`Error while running subscriptions for event ${eventClassName} with id ${eventId}`);
2✔
8
        this._caughtError = caughtError;
2✔
9
        this._eventClassName = eventClassName;
2✔
10
        this._eventId = eventId;
2✔
11
    }
12

13
    get caughtError(): Error {
NEW
14
        return this._caughtError;
×
15
    }
16

17
    get eventClassName(): string {
NEW
18
        return this._eventClassName;
×
19
    }
20

21
    get eventId(): string {
NEW
22
        return this._eventId;
×
23
    }
24
}
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