NET-Web-API-w-Angular/my-app/node_modules/@sigstore/tuf/dist/error.d.ts

12 lines
395 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
type TUFErrorCode = 'TUF_INIT_CACHE_ERROR' | '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 {};