Sha256: 4ec122572002e8f15805046186dd88aecfb266154fd8cf7d30b75f5fe3ed208c

Contents?: true

Size: 1.19 KB

Versions: 33

Compression:

Stored size: 1.19 KB

Contents

"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;

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.59 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.58 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.57 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.56 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.55 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.54 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.53 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.52 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.51 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.50 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.49 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.48 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.47 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.46 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.45 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.44 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.43 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.42 node_modules/@tufjs/models/dist/error.js
immosquare-cleaner-0.1.41 node_modules/@tufjs/models/dist/error.js