@cumulus/errors 20.1.1 → 20.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -260,6 +260,13 @@ export declare const MissingRequiredEnvVarError: {
|
|
|
260
260
|
stack?: string | undefined;
|
|
261
261
|
};
|
|
262
262
|
};
|
|
263
|
+
export declare const MissingS3FileError: {
|
|
264
|
+
new (message: string): {
|
|
265
|
+
name: string;
|
|
266
|
+
message: string;
|
|
267
|
+
stack?: string | undefined;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
263
270
|
export declare const PDRParsingError: {
|
|
264
271
|
new (message: string): {
|
|
265
272
|
name: string;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnmetRequirementsError = exports.IndexExistsError = exports.PostgresUpdateFailed = exports.PostgresValidationError = exports.ValidationError = exports.UnparsableFileLocationError = exports.UnmatchedRegexError = exports.UnexpectedFileSize = exports.RecordDoesNotExist = exports.RecordAlreadyMigrated = exports.ProviderNotFound = exports.PDRParsingError = exports.MissingRequiredEnvVarError = exports.MissingRequiredEnvVar = exports.MissingRequiredArgument = exports.MismatchPdrCollection = exports.InvalidRegexError = exports.InvalidChecksum = exports.InvalidArgument = exports.HostNotFound = exports.GranuleFileWriteError = exports.GranuleNotPublished = exports.FTPError = exports.FileNotFound = exports.EcsStartTaskError = exports.DuplicateFile = exports.DeletePublishedGranule = exports.CumulusMessageError = exports.ConnectionTimeout = exports.ApiCollisionError = exports.MissingBucketMap = exports.CMRInternalError = 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;
|
|
3
|
+
exports.UnmetRequirementsError = exports.IndexExistsError = exports.PostgresUpdateFailed = exports.PostgresValidationError = exports.ValidationError = exports.UnparsableFileLocationError = exports.UnmatchedRegexError = exports.UnexpectedFileSize = exports.RecordDoesNotExist = exports.RecordAlreadyMigrated = exports.ProviderNotFound = exports.PDRParsingError = exports.MissingS3FileError = exports.MissingRequiredEnvVarError = exports.MissingRequiredEnvVar = exports.MissingRequiredArgument = exports.MismatchPdrCollection = exports.InvalidRegexError = exports.InvalidChecksum = exports.InvalidArgument = exports.HostNotFound = exports.GranuleFileWriteError = exports.GranuleNotPublished = exports.FTPError = exports.FileNotFound = exports.EcsStartTaskError = exports.DuplicateFile = exports.DeletePublishedGranule = exports.CumulusMessageError = exports.ConnectionTimeout = exports.ApiCollisionError = exports.MissingBucketMap = exports.CMRInternalError = 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;
|
|
4
4
|
/**
|
|
5
5
|
* Creates a new error type with the given name and parent class. Sets up
|
|
6
6
|
* boilerplate necessary to successfully subclass Error and preserve stack trace
|
|
@@ -102,6 +102,7 @@ exports.MismatchPdrCollection = (0, exports.createErrorType)('MismatchPdrCollect
|
|
|
102
102
|
exports.MissingRequiredArgument = (0, exports.createErrorType)('MissingRequiredArgument');
|
|
103
103
|
exports.MissingRequiredEnvVar = (0, exports.createErrorType)('MissingRequiredEnvVar');
|
|
104
104
|
exports.MissingRequiredEnvVarError = (0, exports.createErrorType)('MissingRequiredEnvVarError');
|
|
105
|
+
exports.MissingS3FileError = (0, exports.createErrorType)('MissingS3FileError');
|
|
105
106
|
exports.PDRParsingError = (0, exports.createErrorType)('PDRParsingError');
|
|
106
107
|
exports.ProviderNotFound = (0, exports.createErrorType)('ProviderNotFound');
|
|
107
108
|
exports.RecordAlreadyMigrated = (0, exports.createErrorType)('RecordAlreadyMigrated');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/errors",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.2",
|
|
4
4
|
"description": "Provides error classes for Cumulus",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GIBS",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"author": "Cumulus Authors",
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "051ef1428ac21105fd55370d15e26009f4b49f57"
|
|
36
36
|
}
|