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

safe-global / safe-client-gateway / 8630594257

10 Apr 2024 11:38AM UTC coverage: 45.232% (-47.6%) from 92.862%
8630594257

Pull #1369

github

iamacook
Only store signer address in JWT payload
Pull Request #1369: Add `AuthGuard`

293 of 2225 branches covered (13.17%)

Branch coverage included in aggregate %.

4 of 9 new or added lines in 3 files covered. (44.44%)

2495 existing lines in 237 files now uncovered.

3540 of 6249 relevant lines covered (56.65%)

8.62 hits per line

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

22.22
/src/datasources/network/entities/network.error.entity.ts
1
export type NetworkError = NetworkResponseError | NetworkRequestError;
2

3
/**
4
 * Represent a network error where a response was received.
5
 * This usually means that {@link status} is within an error range.
6
 *
7
 * {@link data} represents the payload which was received in the response
8
 */
9
export class NetworkResponseError extends Error {
16✔
10
  constructor(
UNCOV
11
    readonly url: URL,
×
UNCOV
12
    readonly response: Response,
×
UNCOV
13
    readonly data?: unknown,
×
14
  ) {
UNCOV
15
    super();
×
16
  }
17
}
18

19
/**
20
 * Represents a network error where the request was made but a response
21
 * was never received.
22
 */
23
export class NetworkRequestError extends Error {
16✔
24
  constructor(
UNCOV
25
    readonly url: URL | null,
×
UNCOV
26
    readonly data?: unknown,
×
27
  ) {
UNCOV
28
    super();
×
29
  }
30
}
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