1 | import makeError, { BaseError } from 'make-error';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare class FetchError extends BaseError {
|
8 |
|
9 | readonly url: string;
|
10 |
|
11 | readonly response: Response;
|
12 | constructor(
|
13 |
|
14 | url: string,
|
15 |
|
16 | response: Response);
|
17 | }
|
18 | /**
|
19 | * `InvalidPackageNameError` is thrown when the name of a package
|
20 | * is not valid according to the npm registry naming rules.
|
21 | *
|
22 | * The `instanceof` operator can be used to check for this error.
|
23 | *
|
24 | * @see {@link https:
|
25 | */
|
26 | export declare const InvalidPackageNameError: makeError.Constructor<makeError.BaseError>;
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare const InvalidPackageVersionError: makeError.Constructor<makeError.BaseError>;
|
33 |
|
\ | No newline at end of file |