Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/node_modules/npm/node_modules/@tufjs/models/dist/ |
Upload File : |
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnsupportedAlgorithmError = exports.CryptoError = exports.LengthOrHashMismatchError = exports.UnsignedMetadataError = exports.RepositoryError = exports.ValueError = void 0; // An error about insufficient values class ValueError extends Error { } exports.ValueError = ValueError; // An error with a repository's state, such as a missing file. // It covers all exceptions that come from the repository side when // looking from the perspective of users of metadata API or ngclient. class RepositoryError extends Error { } exports.RepositoryError = RepositoryError; // An error about metadata object with insufficient threshold of signatures. class UnsignedMetadataError extends RepositoryError { } exports.UnsignedMetadataError = UnsignedMetadataError; // An error while checking the length and hash values of an object. class LengthOrHashMismatchError extends RepositoryError { } exports.LengthOrHashMismatchError = LengthOrHashMismatchError; class CryptoError extends Error { } exports.CryptoError = CryptoError; class UnsupportedAlgorithmError extends CryptoError { } exports.UnsupportedAlgorithmError = UnsupportedAlgorithmError;