Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cumulus/errors

Package Overview
Dependencies
Maintainers
8
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cumulus/errors - npm Package Compare versions

Comparing version 1.24.0 to 2.0.0

32

dist/index.d.ts

@@ -24,3 +24,3 @@ /**

}
interface ErrorWithOptionalCode extends Error {
export interface ErrorWithOptionalCode extends Error {
code?: string;

@@ -116,2 +116,12 @@ }

/**
* Distribution bucket map is missing a configured value for a distribution bucket
*/
export declare const MissingBucketMap: {
new (message: string): {
name: string;
message: string;
stack?: string | undefined;
};
};
/**
* The provider info is missing error

@@ -195,3 +205,3 @@ */

*/
export declare const MismatchPdrCollection: {
export declare const DeletePublishedGranule: {
new (message: string): {

@@ -203,3 +213,3 @@ name: string;

};
export declare const UnparsableFileLocationError: {
export declare const EcsStartTaskError: {
new (message: string): {

@@ -211,3 +221,3 @@ name: string;

};
export declare const RecordDoesNotExist: {
export declare const InvalidRegexError: {
new (message: string): {

@@ -219,3 +229,3 @@ name: string;

};
export declare const InvalidRegexError: {
export declare const MismatchPdrCollection: {
new (message: string): {

@@ -227,2 +237,9 @@ name: string;

};
export declare const RecordDoesNotExist: {
new (message: string): {
name: string;
message: string;
stack?: string | undefined;
};
};
export declare const UnmatchedRegexError: {

@@ -235,3 +252,3 @@ new (message: string): {

};
export declare const ValidationError: {
export declare const UnparsableFileLocationError: {
new (message: string): {

@@ -243,3 +260,3 @@ name: string;

};
export declare const EcsStartTaskError: {
export declare const ValidationError: {
new (message: string): {

@@ -252,1 +269,2 @@ name: string;

export {};
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EcsStartTaskError = exports.ValidationError = exports.UnmatchedRegexError = exports.InvalidRegexError = exports.RecordDoesNotExist = exports.UnparsableFileLocationError = exports.MismatchPdrCollection = exports.InvalidArgument = exports.UnexpectedFileSize = exports.DuplicateFile = exports.InvalidChecksum = exports.FileNotFound = exports.HostNotFound = exports.ConnectionTimeout = exports.PDRParsingError = exports.FTPError = exports.ProviderNotFound = exports.CMRMetaFileNotFound = exports.XmlMetaFileNotFound = exports.RemoteResourceError = exports.ResourcesLockedError = exports.IncompleteError = exports.NotNeededError = exports.WorkflowError = exports.isConditionalCheckException = exports.isWorkflowError = exports.isThrottlingException = exports.ThrottlingException = exports.createErrorType = void 0;
exports.ValidationError = exports.UnparsableFileLocationError = exports.UnmatchedRegexError = exports.RecordDoesNotExist = exports.MismatchPdrCollection = exports.InvalidRegexError = exports.EcsStartTaskError = exports.DeletePublishedGranule = exports.InvalidArgument = exports.UnexpectedFileSize = exports.DuplicateFile = exports.InvalidChecksum = exports.FileNotFound = exports.HostNotFound = exports.ConnectionTimeout = exports.PDRParsingError = exports.FTPError = exports.ProviderNotFound = exports.MissingBucketMap = exports.CMRMetaFileNotFound = exports.XmlMetaFileNotFound = exports.RemoteResourceError = exports.ResourcesLockedError = exports.IncompleteError = exports.NotNeededError = exports.WorkflowError = exports.isConditionalCheckException = exports.isWorkflowError = exports.isThrottlingException = exports.ThrottlingException = exports.createErrorType = void 0;
/**

@@ -73,2 +73,6 @@ * Creates a new error type with the given name and parent class. Sets up

/**
* Distribution bucket map is missing a configured value for a distribution bucket
*/
exports.MissingBucketMap = exports.createErrorType('MissingBucketMap');
/**
* The provider info is missing error

@@ -92,9 +96,10 @@ */

*/
exports.DeletePublishedGranule = exports.createErrorType('DeletePublishedGranule');
exports.EcsStartTaskError = exports.createErrorType('EcsStartTaskError');
exports.InvalidRegexError = exports.createErrorType('InvalidRegexError');
exports.MismatchPdrCollection = exports.createErrorType('MismatchPdrCollection');
exports.UnparsableFileLocationError = exports.createErrorType('UnparsableFileLocationError');
exports.RecordDoesNotExist = exports.createErrorType('RecordDoesNotExist');
exports.InvalidRegexError = exports.createErrorType('InvalidRegexError');
exports.UnmatchedRegexError = exports.createErrorType('UnmatchedRegexError');
exports.UnparsableFileLocationError = exports.createErrorType('UnparsableFileLocationError');
exports.ValidationError = exports.createErrorType('ValidationError');
exports.EcsStartTaskError = exports.createErrorType('EcsStartTaskError');
//# sourceMappingURL=index.js.map
{
"name": "@cumulus/errors",
"version": "1.24.0",
"version": "2.0.0",
"description": "Provides error classes for Cumulus",

@@ -11,3 +11,3 @@ "keywords": [

"engines": {
"node": ">=10.16.3"
"node": ">=12.18.0"
},

@@ -29,2 +29,3 @@ "main": "dist/index.js",

"scripts": {
"test:coverage": "../../node_modules/.bin/nyc true",
"tsc": "../../node_modules/.bin/tsc",

@@ -35,3 +36,3 @@ "prepare": "npm run tsc"

"license": "Apache-2.0",
"gitHead": "e98bd892450ac176e8e802a69d2c7d27a9ed3bca"
"gitHead": "404fd959be4f17ccdf4f047f591ada7c2e39e3e9"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc