Version 3 of `@actions/cache` is now deprecated, and can cause runs to fail; see https://github.com/actions/toolkit/blob/main/packages/cache/README.md. I have no fucking clue why this was considered a major release; it's explicitly documented as being entirely backwards-compatible. SemVer be damned, amirite?
23 lines
685 B
TypeScript
23 lines
685 B
TypeScript
export declare class FilesNotFoundError extends Error {
|
|
files: string[];
|
|
constructor(files?: string[]);
|
|
}
|
|
export declare class InvalidResponseError extends Error {
|
|
constructor(message: string);
|
|
}
|
|
export declare class CacheNotFoundError extends Error {
|
|
constructor(message?: string);
|
|
}
|
|
export declare class GHESNotSupportedError extends Error {
|
|
constructor(message?: string);
|
|
}
|
|
export declare class NetworkError extends Error {
|
|
code: string;
|
|
constructor(code: string);
|
|
static isNetworkErrorCode: (code?: string) => boolean;
|
|
}
|
|
export declare class UsageError extends Error {
|
|
constructor();
|
|
static isUsageErrorMessage: (msg?: string) => boolean;
|
|
}
|