MyRepo-Ums/node_modules/@sigstore/tuf/dist/error.d.ts

12 lines
370 B
TypeScript
Raw Normal View History

2024-01-19 10:09:11 +00:00
type TUFErrorCode = 'TUF_FIND_TARGET_ERROR' | 'TUF_REFRESH_METADATA_ERROR' | 'TUF_DOWNLOAD_TARGET_ERROR' | 'TUF_READ_TARGET_ERROR';
export declare class TUFError extends Error {
code: TUFErrorCode;
cause: any | undefined;
constructor({ code, message, cause, }: {
code: TUFErrorCode;
message: string;
cause?: any;
});
}
export {};