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

visgl / loaders.gl / 20352515932

18 Dec 2025 09:56PM UTC coverage: 35.115% (-28.4%) from 63.485%
20352515932

push

github

web-flow
feat(loader-utils): Export is-type helpers (#3258)

1188 of 1998 branches covered (59.46%)

Branch coverage included in aggregate %.

147 of 211 new or added lines in 13 files covered. (69.67%)

30011 existing lines in 424 files now uncovered.

37457 of 108056 relevant lines covered (34.66%)

0.79 hits per line

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

50.0
/modules/core/src/lib/fetch/fetch-error.ts
1
// loaders.gl
1✔
2
// SPDX-License-Identifier: MIT
1✔
3
// Copyright (c) vis.gl contributors
1✔
4

1✔
5
export class FetchError extends Error {
1✔
6
  constructor(message: string, info: {url: string; reason: string; response?: Response}) {
1✔
UNCOV
7
    super(message);
×
UNCOV
8
    this.reason = info.reason;
×
UNCOV
9
    this.url = info.url;
×
UNCOV
10
    this.response = info.response;
×
UNCOV
11
  }
×
12
  /** A best effort reason for why the fetch failed */
1✔
13
  reason: string;
1!
UNCOV
14
  /** The URL that failed to load. Empty string if not available. */
×
UNCOV
15
  url: string;
×
UNCOV
16
  /** The Response object, if any. */
×
UNCOV
17
  response?: Response;
×
18
}
1✔
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